Some fixes for GCC 4.6 warning: variable set but not used

This commit is contained in:
Jerome Duval
2012-02-23 20:32:13 +01:00
parent 4bbb27e3cc
commit 5c6b9eb00d
27 changed files with 44 additions and 83 deletions
+1 -1
View File
@@ -174,7 +174,7 @@ main(int argc, char **argv)
switch (mode) {
case kList:
if ((id != -1 && id != info.team)
|| pattern != NULL && !strstr(info.args, pattern))
|| (pattern != NULL && !strstr(info.args, pattern)))
continue;
print_fds(info);
break;