From 0f8fac362dcca49884959623c218ffda0e3f3d6a Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Sun, 23 Dec 2012 14:20:56 +0100 Subject: [PATCH] Initialize the l and t parameters to zero before reading the tracking info. --- mtp_tracker.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mtp_tracker.cc b/mtp_tracker.cc index 02541a6..b956f2c 100644 --- 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; -- 2.20.1