summaryrefslogtreecommitdiffstats
path: root/avahi-utils/avahi-resolve.c
diff options
context:
space:
mode:
Diffstat (limited to 'avahi-utils/avahi-resolve.c')
-rw-r--r--avahi-utils/avahi-resolve.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/avahi-utils/avahi-resolve.c b/avahi-utils/avahi-resolve.c
index 2dafbf0..47e7ebf 100644
--- a/avahi-utils/avahi-resolve.c
+++ b/avahi-utils/avahi-resolve.c
@@ -43,10 +43,6 @@
#include "sigint.h"
-#ifdef HAVE_GDBM
-#include "stdb.h"
-#endif
-
typedef enum {
COMMAND_UNSPEC,
COMMAND_HELP,
@@ -190,7 +186,6 @@ static int parse_command_line(Config *c, const char *argv0, int argc, char *argv
c->proto = AVAHI_PROTO_UNSPEC;
c->verbose = 0;
- opterr = 0;
while ((o = getopt_long(argc, argv, "hVnav46", long_options, NULL)) >= 0) {
switch(o) {
@@ -216,7 +211,6 @@ static int parse_command_line(Config *c, const char *argv0, int argc, char *argv
c->proto = AVAHI_PROTO_INET6;
break;
default:
- fprintf(stderr, "Invalid command line argument: %c\n", o);
return -1;
}
}