aboutsummaryrefslogtreecommitdiff
path: root/gdb/top.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2008-03-17 14:06:11 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2008-03-17 14:06:11 +0000
commit2f77b315eb66ffd889883c7d7f98ffd3278bbdf9 (patch)
tree7c3914ad3db335c1aad0d6a4f80cb51de92a3cdd /gdb/top.c
parentf3439ea8d1f6a99b16bdc0dd15e40ee825aca678 (diff)
downloadgdb-2f77b315eb66ffd889883c7d7f98ffd3278bbdf9.zip
gdb-2f77b315eb66ffd889883c7d7f98ffd3278bbdf9.tar.gz
gdb-2f77b315eb66ffd889883c7d7f98ffd3278bbdf9.tar.bz2
* top.c (execute_command): Fix uninitialized variable error.
Diffstat (limited to 'gdb/top.c')
-rw-r--r--gdb/top.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/top.c b/gdb/top.c
index 3b9aaab..379f0b7 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