提交 906c1f50 编写于 作者: D Daniel Veillard

* src/virsh.c: initialize a couple of variable to avoid warnings

  when compiling with Fedora.
Daniel
上级 71054759
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>
* 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 inputparams = 0;
int weightfound = 0;
int weight;
int weight = 0;
int capfound = 0;
int cap;
int cap = 0;
char str_weight[] = "weight";
char str_cap[] = "cap";
int ret_val = FALSE;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册