LVM2/libdm libdm-config.c
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac at sourceware.org 2011-09-25 19:41:27
Modified files:
libdm : libdm-config.c
Log message:
Replace test for NULL of root->child with test for NULL l It's 100% equivalent test - since it always happen for the first iteration. But the check for 'l' is understandable with analyzers - since analyzer is not smart enough to deduce connection between root->child == NULL.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/libdm/libdm-config.c.diff?cvsroot=lvm2&r1=1.9&r2=1.10
libdm/libdm-config.c +1 -1
@@ -557,7 +557,7 @@if (!(n =_section (p))) return_NULL; -if (!root->child) +if (!l) root->child = n;else l->sib = n;