No need to check for both "not null" and "is space".
The latter implies the former. Squelches a cppcheck redundantCondition warning.
This commit is contained in:
parent
793333d039
commit
6db087ae4b
|
@ -666,7 +666,7 @@ static int ws80211_populate_devices(GArray *interfaces)
|
|||
continue;
|
||||
*t = 0;
|
||||
t = line;
|
||||
while (*t && *t == ' ')
|
||||
while (*t == ' ')
|
||||
t++;
|
||||
memset(&iface_info, 0, sizeof(iface_info));
|
||||
iface_info.pub = &pub;
|
||||
|
|
Loading…
Reference in New Issue