From: Davidlohr Bueso <dave@gnu.org>
To: Karel Zak <kzak@redhat.com>
Cc: util-linux <util-linux@vger.kernel.org>
Subject: [PATCH] prlimit: remove bogus instructions
Date: Sat, 14 Apr 2012 12:01:03 +0200 [thread overview]
Message-ID: <1334397663.2564.0.camel@offbook> (raw)
From: Davidlohr Bueso <dave@gnu.org>
usage() is noreturn!
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
---
sys-utils/prlimit.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/sys-utils/prlimit.c b/sys-utils/prlimit.c
index 12271a0..7e52a2d 100644
--- a/sys-utils/prlimit.c
+++ b/sys-utils/prlimit.c
@@ -585,7 +585,6 @@ int main(int argc, char **argv)
break;
case 'h':
usage(stdout);
- break;
case 'o':
ncolumns = string_to_idarray(optarg,
columns, ARRAY_SIZE(columns),
@@ -609,7 +608,6 @@ int main(int argc, char **argv)
default:
usage(stderr);
- break;
}
}
if (argc > optind && pid)
--
1.7.4.1
next reply other threads:[~2012-04-14 10:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-14 10:01 Davidlohr Bueso [this message]
2012-04-23 10:07 ` [PATCH] prlimit: remove bogus instructions Karel Zak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1334397663.2564.0.camel@offbook \
--to=dave@gnu.org \
--cc=kzak@redhat.com \
--cc=util-linux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox