projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a84b785
)
monitor: Remove unused variable
author
Luiz Capitulino
<lcapitulino@redhat.com>
Tue, 9 Jun 2009 21:20:49 +0000
(18:20 -0300)
committer
Blue Swirl
<blauwirbel@gmail.com>
Wed, 10 Jun 2009 16:46:11 +0000
(19:46 +0300)
The local pointer 'q' is not used by monitor_handle_command().
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
monitor.c
patch
|
blob
|
history
diff --git
a/monitor.c
b/monitor.c
index 9d04d9f4c7325a528be97219e85a22ecff152f93..e6e346608c5908dbc2f9fae104105a88b99193ea 100644
(file)
--- a/
monitor.c
+++ b/
monitor.c
@@
-2389,7
+2389,6
@@
static int default_fmt_size = 4;
static void monitor_handle_command(Monitor *mon, const char *cmdline)
{
const char *p, *pstart, *typestr;
- char *q;
int c, nb_args, len, i, has_arg;
const mon_cmd_t *cmd;
char cmdname[256];
@@
-2415,7
+2414,6
@@
static void monitor_handle_command(Monitor *mon, const char *cmdline)
/* extract the command name */
p = cmdline;
- q = cmdname;
while (qemu_isspace(*p))
p++;
if (*p == '\0')