From: Florian Forster Date: Wed, 27 Oct 2010 07:53:18 +0000 (+0200) Subject: src/oping.c: Remove useless "strlen". X-Git-Tag: liboping-1.5.0~4 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e12bb82ceeb713292151de2f67674751d2a2a7a3;p=liboping.git src/oping.c: Remove useless "strlen". --- 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"