projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f7c998
)
xl: Remove unused variable verbose in info function
author
Keir Fraser
<keir.fraser@citrix.com>
Tue, 4 May 2010 10:46:24 +0000
(11:46 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Tue, 4 May 2010 10:46:24 +0000
(11:46 +0100)
Signed-off-by: Yang Hongyang <yanghy@cn.fujitsu.com>
tools/libxl/xl_cmdimpl.c
patch
|
blob
|
history
diff --git
a/tools/libxl/xl_cmdimpl.c
b/tools/libxl/xl_cmdimpl.c
index 27aa04a1e9c9741770385cbfc39c5b5c6d6b5da7..2a866178ddecb86d91af40991482cd26c0815284 100644
(file)
--- a/
tools/libxl/xl_cmdimpl.c
+++ b/
tools/libxl/xl_cmdimpl.c
@@
-2713,7
+2713,7
@@
static void output_physinfo(void)
return;
}
-static void info(
int verbose
)
+static void info(
void
)
{
output_nodeinfo();
@@
-2728,9
+2728,8
@@
static void info(int verbose)
int main_info(int argc, char **argv)
{
- int opt
, verbose
;
+ int opt;
- verbose = 0;
while ((opt = getopt(argc, argv, "h")) != -1) {
switch (opt) {
case 'h':
@@
-2742,7
+2741,7
@@
int main_info(int argc, char **argv)
}
}
- info(
verbose
);
+ info();
exit(0);
}