udev/collect: remove dead conditional
Coverity rightly says that 'word' is assigned to 'ptr', and 'word' was assigned from 'ptr' (yikes) right after a non-null check.
This commit is contained in:
@@ -188,8 +188,6 @@ static int checkout(int fd)
|
||||
|
||||
if (!ptr)
|
||||
ptr = word;
|
||||
if (!ptr)
|
||||
break;
|
||||
ptr -= len;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user