From: Luiz Capitulino <lcapitulino@redhat.com>
To: qemu-devel@nongnu.org
Cc: aliguori@us.ibm.com
Subject: [Qemu-devel] [PATCH 1/4] monitor: Remove unused variable
Date: Tue, 9 Jun 2009 18:20:49 -0300 [thread overview]
Message-ID: <20090609182049.3c2f5f9f@redhat.com> (raw)
In-Reply-To: <cover.1244582237.git.lcapitulino@redhat.com>
The local pointer 'q' is not used by monitor_handle_command().
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
---
monitor.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/monitor.c b/monitor.c
index 7620bde..11716de 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')
--
1.6.3.GIT
next parent reply other threads:[~2009-06-09 21:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <cover.1244582237.git.lcapitulino@redhat.com>
2009-06-09 21:20 ` Luiz Capitulino [this message]
2009-06-09 21:21 ` [Qemu-devel] [PATCH 2/4] monitor: Introduce get_command_name() Luiz Capitulino
2009-06-09 21:21 ` [Qemu-devel] [PATCH 3/4] monitor: Remove uneeded goto Luiz Capitulino
2009-06-09 21:22 ` [Qemu-devel] [PATCH 4/4] monitor: Remove uneeded 'return' statement Luiz Capitulino
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090609182049.3c2f5f9f@redhat.com \
--to=lcapitulino@redhat.com \
--cc=aliguori@us.ibm.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.