]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix compiler warnings in virsh.c
authorLaine Stump <laine@laine.org>
Fri, 12 Mar 2010 10:39:24 +0000 (11:39 +0100)
committerDaniel Veillard <veillard@redhat.com>
Fri, 12 Mar 2010 10:39:24 +0000 (11:39 +0100)
commit7fbc2e37b86431a79bea900e00a20a94dd6045c7
treed78cff31ebbe62c6e3cb25ab6a8fee351b73cc55
parentca842a6bcb888f24cc9a37673eae2935d29def1a
Fix compiler warnings in virsh.c

No functional change. These all generated compiler warnings which, for
some reason weren't converted to errors by
--enable-compiler-warnings=error.

* tools/virsh.c:
  - change return type from int to void on two functions that don't
    return a value.
  - remove unused variables/labels from two functions
  - eliminate non-literal format strings
  - typecast char* into xmlChar* when calling
  - xmlParseBalancedChunkMemory
tools/virsh.c