From: Denis Vlasenko Date: Sat, 29 Sep 2007 18:27:14 +0000 (-0000) Subject: remove if() which is always true X-Git-Tag: 1_8_0~118 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1ebd0a6d9162c377e4b214c0a506d3f78702d66e;p=oweals%2Fbusybox.git remove if() which is always true --- diff --git a/libbb/procps.c b/libbb/procps.c index f1c0b6d27..e62e5a1f1 100644 --- a/libbb/procps.c +++ b/libbb/procps.c @@ -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;