]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
vbox_tmpl.c: remove useless array-is-non-NULL comparisons
authorJim Meyering <meyering@redhat.com>
Mon, 18 Jan 2010 08:58:57 +0000 (09:58 +0100)
committerJim Meyering <meyering@redhat.com>
Mon, 18 Jan 2010 12:31:47 +0000 (13:31 +0100)
commit1867004ed1b8d55da7a93279ce071d59ae9e52cd
tree49eec9bea47c6d20a6b210afbc9e30545b3d48cb
parent0a6a6f5e618ed1c9888d9dbdb72fe7d65eb1642c
vbox_tmpl.c: remove useless array-is-non-NULL comparisons

* src/vbox/vbox_tmpl.c (vboxStorageVolDelete): Remove always-true
array-is-non-NULL test.  git grep 'key\[.*\];'|grep -F .h
src/datatypes.h:    char key[PATH_MAX];
(vboxStorageVolGetInfo): Likewise.
(vboxStorageVolGetXMLDesc): Likewise.
(vboxStorageVolGetPath): Likewise.
(vboxDomainDefineXML): Likewise. (but now with "mac[]")
src/vbox/vbox_tmpl.c