[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [COMMIT 7869001] monitor: Remove unused variable
From: |
Anthony Liguori |
Subject: |
[Qemu-commits] [COMMIT 7869001] monitor: Remove unused variable |
Date: |
Wed, 10 Jun 2009 17:00:40 -0000 |
From: Luiz Capitulino <address@hidden>
The local pointer 'q' is not used by monitor_handle_command().
Signed-off-by: Luiz Capitulino <address@hidden>
diff --git a/monitor.c b/monitor.c
index 9d04d9f..e6e3466 100644
--- 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')
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [COMMIT 7869001] monitor: Remove unused variable,
Anthony Liguori <=