mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-10-28 11:55:23 +03:00
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:
parent
2504834861
commit
3176084ff2
@ -188,8 +188,6 @@ static int checkout(int fd)
|
||||
|
||||
if (!ptr)
|
||||
ptr = word;
|
||||
if (!ptr)
|
||||
break;
|
||||
ptr -= len;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user