[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-wget] http.c:934: possible bad assert statement ?
From: |
David Binderman |
Subject: |
[Bug-wget] http.c:934: possible bad assert statement ? |
Date: |
Wed, 30 Oct 2013 14:09:11 +0000 |
Hello there,
I just compiled wget with extra Linux gcc flag -Wlogical-op
It said
http.c:934:3: warning: logical 'or' of collectively exhaustive tests is always
true [-Wlogical-op]
Source code is
assert (contlen != -1 || contlen);
Suggest swap || for &&
Regards
David Binderman
- [Bug-wget] http.c:934: possible bad assert statement ?,
David Binderman <=