]> git.ipfire.org Git - thirdparty/libvirt.git/commit
vshCommandRun: avoid used-uninitialized timing-related report from clang
authorJim Meyering <meyering@redhat.com>
Wed, 14 Apr 2010 07:04:28 +0000 (09:04 +0200)
committerJim Meyering <meyering@redhat.com>
Wed, 14 Apr 2010 14:17:56 +0000 (16:17 +0200)
commitcd7ee20a68ea4ece11c52dec4b06bf6bd06e0e42
tree8acafa7a5bbfd8cc60e5051c9abbb328e291c1c1
parent274f09cbc5ed8be00127380327d9525b852a2d1d
vshCommandRun: avoid used-uninitialized timing-related report from clang

* tools/virsh.c (vshCommandRun): Test only the initial value of
ctl->timing, so that static analyzers don't have to consider that
it might be changed by cmd->def->handler.
tools/virsh.c