From: "Gary S. Robertson" <[email protected]> Some of the cases in the switch statement in parse_args() did not initialize the 'handled' variable which is returned by the function. Added an initialization to the definition of the variable.
Signed-off-by: Gary S. Robertson <[email protected]> --- .../realtime/perf/latency/pthread_cond_many.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testcases/realtime/perf/latency/pthread_cond_many.c b/testcases/realtime/perf/latency/pthread_cond_many.c index f9325b5..1d39100 100644 --- a/testcases/realtime/perf/latency/pthread_cond_many.c +++ b/testcases/realtime/perf/latency/pthread_cond_many.c @@ -256,7 +256,7 @@ void usage(void) int parse_args(int c, char *v) { - int handled; + int handled = 1; switch (c) { case 'h': usage(); -- 1.7.9.5 ------------------------------------------------------------------------------ Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
