]> sourceware.org Git - lvm2.git/commit
Reuse result of previous strchr
authorZdenek Kabelac <zkabelac@redhat.com>
Mon, 25 Oct 2010 12:08:15 +0000 (12:08 +0000)
committerZdenek Kabelac <zkabelac@redhat.com>
Mon, 25 Oct 2010 12:08:15 +0000 (12:08 +0000)
commitb68cb6026ec647b95a49f56f65c52446b88be1a2
tree496db901a8add3d3a33b364799296654fb00b7b9
parentb1b18e183cd7d5d3a4ec8355351f06d993cdb267
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.
tools/toollib.c
This page took 0.028987 seconds and 5 git commands to generate.