wi_linux.c:159]: (style) Suspicious condition (assignment + comparison); Clarify expression with parentheses. Source code is if ((result = ioctl(device->socket, SIOCGIWESSID, &wreq) < 0)) { Maybe better code if ((result = ioctl(device->socket, SIOCGIWESSID, &wreq)) < 0) { wi_linux.c:170]: (style) Suspicious condition (assignment + comparison); Clarify expression with parentheses. Duplicate.
Landry Breuil referenced this bugreport in commit 5f4c12a585fab6e1b5ed246ccd29699768f64db2 fix "Suspicious condition (assignment + comparison)" warnings by moving parenthesis (bug #14632) https://git.xfce.org/panel-plugins/xfce4-wavelan-plugin/commit?id=5f4c12a585fab6e1b5ed246ccd29699768f64db2
Thanks !