diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2010-10-25 12:08:15 +0000 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2010-10-25 12:08:15 +0000 |
commit | 0775e8060e8cdeb31b94756657c5de0bec0a5922 (patch) | |
tree | 496db901a8add3d3a33b364799296654fb00b7b9 /tools/lvm.c | |
parent | fc218865bfdc05c745038665c455745d88b7f469 (diff) | |
download | lvm2-0775e8060e8cdeb31b94756657c5de0bec0a5922.tar.gz lvm2-0775e8060e8cdeb31b94756657c5de0bec0a5922.tar.xz lvm2-0775e8060e8cdeb31b94756657c5de0bec0a5922.zip |
Reuse result of previous strchr
Reported by clang as: Argument with 'nonnull' attribute passed null
Reuse the result of the last strchr() call - make sure, 'st' point is not
null for the next strchr() call.
Diffstat (limited to 'tools/lvm.c')
0 files changed, 0 insertions, 0 deletions