]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
Suppressing compiler warnings reported by Paul Wouters.
authorWillem Toorop <willem@NLnetLabs.nl>
Wed, 25 May 2011 08:58:36 +0000 (08:58 +0000)
committerWillem Toorop <willem@NLnetLabs.nl>
Wed, 25 May 2011 08:58:36 +0000 (08:58 +0000)
examples/ldns-gen-zone.c
examples/ldns-test-edns.c

index b124cb8e800ec2a3774bf8e4c1d262d443eaddcb..637f0026dd07910abb14e6aba96d830fbcbc5ffb 100644 (file)
@@ -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] [<zonefile>]\n", prog);
         fprintf(fp, "\tReads a zonefile and add some artificial NS RRsets and DS records.\n");
index b71e42f15250e2b85a9816b1fb29f52a80ee83ba..2a29f0e810ded6bd9e89c29e86b762e8c26cab15 100644 (file)
@@ -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) {