]> git.marmaro.de Git - mmh/blobdiff - uip/mhbuild.c
Eliminated compilation warnings.
[mmh] / uip / mhbuild.c
index bacec1003d26f62ecb697b4d678dfdf9f9b91da6..dc0059c1b51f0e81b6a6828d6476b949447fa715 100644 (file)
@@ -363,12 +363,11 @@ main (int argc, char **argv)
     unlink_outfile = 0;
 
     free_content (ct);
-    done (0);
-    /* NOT REACHED */
+    return done (0);
 }
 
 
-void
+int
 done (int status)
 {
     /*
@@ -381,4 +380,5 @@ done (int status)
        unlink (outfile);
 
     exit (status);
+    return 1;  /* dead code to satisfy the compiler */
 }