chiark / gitweb /
scan-build: silence some warnings
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Thu, 12 Dec 2013 22:08:47 +0000 (23:08 +0100)
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Thu, 12 Dec 2013 22:08:47 +0000 (23:08 +0100)
commit5fba7bbfa47ef5c03a28000252d06ec82405d461
tree0eb31cb025d794fc999aeebb92c93b5e00b18b8d
parente4bb80a07610e6559aa6d2d763fd0b78634a4b12
scan-build: silence some warnings

test-fileio/test-strv:
Use the streq_ptr to make build-scan not worry about passing in a null
to a nonnull function.

test-dhcp-option:
Prevent a theoretical null pointer dereference
src/libsystemd-dhcp/test-dhcp-option.c
src/test/test-fileio.c
src/test/test-strv.c