diff --git a/src/oping.c b/src/oping.c
index f8f7dd6f1df68d8829b35fcc8a9a12735a814e28..b53974f3c4eacac748778892c0c189b84c022476 100644 (file)
--- a/src/oping.c
+++ b/src/oping.c
#endif
#if USE_NCURSES
+# define NCURSES_OPAQUE 1
# include <ncurses.h>
# define OPING_GREEN 1
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"