projects
/
liboping.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7bfa88
)
src/oping.c: Remove useless "strlen".
author
Florian Forster
<octo@verplant.org>
Wed, 27 Oct 2010 07:53:18 +0000
(09:53 +0200)
committer
Florian Forster
<octo@verplant.org>
Wed, 27 Oct 2010 07:53:18 +0000
(09:53 +0200)
src/oping.c
patch
|
blob
|
history
diff --git
a/src/oping.c
b/src/oping.c
index
0d7575e
..
b53974f
100644
(file)
--- 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"