From: Ulrich Weigand Date: Mon, 17 Mar 2008 14:06:11 +0000 (+0000) Subject: * top.c (execute_command): Fix uninitialized variable error. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2f77b315eb66ffd889883c7d7f98ffd3278bbdf9;p=binutils-gdb.git * top.c (execute_command): Fix uninitialized variable error. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 44b6c405cf6..fa6de885e34 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2008-03-17 Ulrich Weigand + + * top.c (execute_command): Fix uninitialized variable error. + 2008-03-16 Nick Hudson * Makefile.in (amd64nbsd-nat.o): New dependency. diff --git a/gdb/top.c b/gdb/top.c index 3b9aaab7ffe..379f0b72b54 100644 --- a/gdb/top.c +++ b/gdb/top.c @@ -412,7 +412,7 @@ execute_command (char *p, int from_tty) char *line; struct continuation_arg *arg1; struct continuation_arg *arg2; - long time_at_cmd_start; + long time_at_cmd_start = 0; #ifdef HAVE_SBRK long space_at_cmd_start = 0; #endif