From: Erik van der Kouwe Date: Tue, 4 Sep 2012 09:56:18 +0000 (+0200) Subject: Fix uninitialized variable in sprofalyze X-Git-Tag: v3.2.1~346 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/CHANGES?a=commitdiff_plain;h=0e832620421c056a1674924fad14295799f7a185;p=minix.git Fix uninitialized variable in sprofalyze --- diff --git a/commands/sprofalyze/sprofalyze.c b/commands/sprofalyze/sprofalyze.c index 5f3d04506..dcc8f1f20 100755 --- a/commands/sprofalyze/sprofalyze.c +++ b/commands/sprofalyze/sprofalyze.c @@ -137,7 +137,7 @@ static void usage(const char *argv0); #endif int main(int argc, char **argv) { - int opt, sprofdiff; + int opt, sprofdiff = 0; #ifdef DEBUG /* disable buffering so the output mixes correctly */