mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
* src/virsh.c: initialize a couple of variable to avoid warnings
when compiling with Fedora. Daniel
This commit is contained in:
parent
710547590b
commit
906c1f5055
@ -1,3 +1,8 @@
|
|||||||
|
Thu Nov 8 19:06:13 CET 2007 Daniel Veillard <veillard@redhat.com>
|
||||||
|
|
||||||
|
* src/virsh.c: initialize a couple of variable to avoid warnings
|
||||||
|
when compiling with Fedora.
|
||||||
|
|
||||||
Thu Nov 8 18:59:39 CET 2007 Daniel Veillard <veillard@redhat.com>
|
Thu Nov 8 18:59:39 CET 2007 Daniel Veillard <veillard@redhat.com>
|
||||||
|
|
||||||
* src/virsh.c: patch from Jim Meyering to use gcc's printf attribute.
|
* src/virsh.c: patch from Jim Meyering to use gcc's printf attribute.
|
||||||
|
@ -1137,9 +1137,9 @@ cmdSchedinfo(vshControl * ctl, vshCmd * cmd)
|
|||||||
int nr_inputparams = 0;
|
int nr_inputparams = 0;
|
||||||
int inputparams = 0;
|
int inputparams = 0;
|
||||||
int weightfound = 0;
|
int weightfound = 0;
|
||||||
int weight;
|
int weight = 0;
|
||||||
int capfound = 0;
|
int capfound = 0;
|
||||||
int cap;
|
int cap = 0;
|
||||||
char str_weight[] = "weight";
|
char str_weight[] = "weight";
|
||||||
char str_cap[] = "cap";
|
char str_cap[] = "cap";
|
||||||
int ret_val = FALSE;
|
int ret_val = FALSE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user