]> git.ipfire.org Git - thirdparty/util-linux.git/commit
tests: remove redundant check for NULL [cppcheck]
authorBoris Egorov <egorov@linux.com>
Tue, 19 Jan 2016 06:18:21 +0000 (12:18 +0600)
committerBoris Egorov <egorov@linux.com>
Tue, 19 Jan 2016 06:59:12 +0000 (12:59 +0600)
commit4ec6062678b105389722fd0b7936c1096a96c7d6
tree07359f7bbbb2621e4412d243197b4140a1529781
parentfaebeb86e5917b9ea91bc9babf0dbf8c9ec1b343
tests: remove redundant check for NULL [cppcheck]

We set SA_SIGINFO flag, so we should not get NULL.

[tests/helpers/test_sigreceive.c:45] -> [tests/helpers/test_sigreceive.c:47]: (warning) Either the condition 'if(info)' is redundant or there is possible null pointer dereference: info.
tests/helpers/test_sigreceive.c