]> git.ipfire.org Git - thirdparty/libvirt.git/commit
xm_internal.c: remove four useless comparisons after strchr
authorJim Meyering <meyering@redhat.com>
Mon, 7 Sep 2009 08:09:20 +0000 (10:09 +0200)
committerJim Meyering <meyering@redhat.com>
Mon, 7 Sep 2009 16:14:41 +0000 (18:14 +0200)
commitf7d5b4d6135f360d7ee0578fc10418f4dbbc6ecf
treef2d82504c855d1099ebc0d1db2f83adc48e37431
parentaecae56071fd8bfa32143f2ff8fd71e6214c9b91
xm_internal.c: remove four useless comparisons after strchr

* src/xm_internal.c (xenXMDomainConfigParse): After t=strchr...
don't test *t; it's known.  This was *not* detected by clang,
but I spotted it since once instance was in the vicinity of the
dead increment of "data".
src/xm_internal.c