remove if() which is always true
This commit is contained in:
parent
66bbfbd581
commit
1ebd0a6d91
@ -382,8 +382,7 @@ procps_status_t *procps_scan(procps_status_t* sp, int flags)
|
||||
n = read_to_buf(filename, buf);
|
||||
if (n <= 0)
|
||||
break;
|
||||
if (flags & PSSCAN_ARGV0)
|
||||
sp->argv0 = xstrdup(buf);
|
||||
sp->argv0 = xstrdup(buf);
|
||||
}
|
||||
#endif
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user