From e12bb82ceeb713292151de2f67674751d2a2a7a3 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Wed, 27 Oct 2010 09:53:18 +0200 Subject: [PATCH 1/1] src/oping.c: Remove useless "strlen". --- src/oping.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/oping.c b/src/oping.c index 0d7575e..b53974f 100644 --- a/src/oping.c +++ b/src/oping.c @@ -234,10 +234,6 @@ static int ping_initialize_contexts (pingobj_t *ping) /* {{{ */ static void usage_exit (const char *name, int status) /* {{{ */ { - int name_length; - - name_length = (int) strlen (name); - fprintf (stderr, "Usage: %s [OPTIONS] " "-f filename | host [host [host ...]]\n" -- 2.30.2