chiark / gitweb /
don't compare a non-existing function with NULL
authorDaniel Mierswa <impulze@impulze.org>
Mon, 17 Aug 2009 21:13:19 +0000 (23:13 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Tue, 18 Aug 2009 00:00:39 +0000 (02:00 +0200)
commit8eefdffb6bb458403c4fa5c9435290189d8d2a60
tree1ec49841ee4e6bf3ed8a02727dbc70252bfd7709
parenta90221b61639e582e4a85d2a508784ca29a2401b
don't compare a non-existing function with NULL

Obviously someone forgot something here or didn't use -ansi. Either way,
index is nowhere declared so I assume the current behaviour is to check
against the index() function coming from somewhere in the POSIX headers.
The comparison doesn't make sense then.

Signed-off-by: Daniel Mierswa <impulze@impulze.org>
libudev/libudev-queue-private.c