alobbs / macchanger

GNU MAC Changer

Home Page:http://www.gnu.org/software/macchanger

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

maclist.c:134]: (style) Redundant condition

dcb314 opened this issue · comments

maclist.c:134]: (style) Redundant condition: keyword. '!keyword || (keyword && strstr(list[i].name,keyword))' is equivalent to '!keyword || strstr(list[i].name,keyword)'

Source code is

if (!keyword || (keyword && strstr(list[i].name, keyword))) {