]> git.ipfire.org Git - thirdparty/util-linux.git/commit
ipcrm: avoid 'uninitialized' warning
authorBernhard Voelker <mail@bernhard-voelker.de>
Wed, 5 Sep 2012 13:12:01 +0000 (15:12 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 2 Oct 2012 08:01:51 +0000 (10:01 +0200)
commitb83b9b11c2563e52280d041e9b18e7cc41561636
tree4b4908208cb846cdf0437f2078d749c21ca041e1
parentd964b669c8d8675af1b7d7e1742ee8b68dc285ef
ipcrm: avoid 'uninitialized' warning

GCC 4.1.2 on SLES 10.4:
sys-utils/ipcrm.c: In function ‘main’:
sys-utils/ipcrm.c:297: warning: ‘what_all’ may be used uninitialized in this function

* sys-utils/ipcrm.c: Initialize what_all to ALL.

Signed-off-by: Bernhard Voelker <mail@bernhard-voelker.de>
sys-utils/ipcrm.c