projects
/
mtp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ea42c9
)
Initialize the l and t parameters to zero before reading the tracking info.
author
Francois Fleuret
<francois@fleuret.org>
Sun, 23 Dec 2012 13:20:56 +0000
(14:20 +0100)
committer
Francois Fleuret
<francois@fleuret.org>
Sun, 23 Dec 2012 13:20:56 +0000
(14:20 +0100)
mtp_tracker.cc
patch
|
blob
|
history
diff --git
a/mtp_tracker.cc
b/mtp_tracker.cc
index
02541a6
..
b956f2c
100644
(file)
--- a/
mtp_tracker.cc
+++ b/
mtp_tracker.cc
@@
-108,7
+108,7
@@
void MTPTracker::write(ostream *os) {
}
void MTPTracker::read(istream *is) {
- int l
, t
;
+ int l
= 0, t = 0
;
(*is) >> l >> t;