diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2009-06-09 18:20:49 -0300 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-06-10 19:46:11 +0300 |
commit | 4d15efbcf7ed889fdb054943b502302b45a52a9c (patch) | |
tree | deacfa49a001c9010e137ea0c9bd322c727b79d5 | |
parent | cca51a878c0fdf7820fff1e9d15281d3cabcb5f2 (diff) | |
download | qemu-4d15efbcf7ed889fdb054943b502302b45a52a9c.tar.gz qemu-4d15efbcf7ed889fdb054943b502302b45a52a9c.tar.bz2 qemu-4d15efbcf7ed889fdb054943b502302b45a52a9c.zip |
monitor: Remove unused variable
The local pointer 'q' is not used by monitor_handle_command().
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
-rw-r--r-- | monitor.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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') |