From: Willem Toorop Date: Wed, 25 May 2011 08:58:36 +0000 (+0000) Subject: Suppressing compiler warnings reported by Paul Wouters. X-Git-Tag: release-1.6.10~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df8c849819b78a40089330cfb06917a1628570e6;p=thirdparty%2Fldns.git Suppressing compiler warnings reported by Paul Wouters. --- diff --git a/examples/ldns-gen-zone.c b/examples/ldns-gen-zone.c index b124cb8e..637f0026 100644 --- a/examples/ldns-gen-zone.c +++ b/examples/ldns-gen-zone.c @@ -23,7 +23,7 @@ * Usage function. * */ -static int +static void usage(FILE *fp, char *prog) { fprintf(fp, "\n\nUsage: %s [-hsv] [-ap NUM] [-o ORIGIN] []\n", prog); fprintf(fp, "\tReads a zonefile and add some artificial NS RRsets and DS records.\n"); diff --git a/examples/ldns-test-edns.c b/examples/ldns-test-edns.c index b71e42f1..2a29f0e8 100644 --- a/examples/ldns-test-edns.c +++ b/examples/ldns-test-edns.c @@ -215,7 +215,7 @@ check_edns_ip(char* ip, int port, int info) int main(int argc, char **argv) { - int i, r, info=0, ok=0; + int i, r=0, info=0, ok=0; #ifdef USE_WINSOCK WSADATA wsa_data; if(WSAStartup(MAKEWORD(2,2), &wsa_data) != 0) {