]> sourceware.org Git - lvm2.git/commit
Remove unnecesary conditional.
authorJonathan Earl Brassow <jbrassow@redhat.com>
Tue, 28 Jun 2011 21:28:35 +0000 (21:28 +0000)
committerJonathan Earl Brassow <jbrassow@redhat.com>
Tue, 28 Jun 2011 21:28:35 +0000 (21:28 +0000)
commit48c9c491b0094b74da10d2d20831b03b28da8f4a
tree489a6bb10b8c70234665fbc3f03934e4b80527cc
parent88fca3eff424d307927ce6403d46e2f451e33418
Remove unnecesary conditional.

The conditional is not just unnecessary, it would have been wrong.  The code
is suppose to be checking if the 'splitmirrors_ARG' is negative, but it
instead is checking 'mirrors_ARG'.  Rather than changing the argument being
checked, I've pulled the check entirely because 'splitmirrors_ARG' is already
guarenteed to not be negative by virtue of the fact that it is a 'int_arg'.
Negative values will be caught in _process_command_line().
tools/lvconvert.c
This page took 0.03597 seconds and 5 git commands to generate.