Sfoglia il codice sorgente

check_software_version_against_directory needs a return value.

svn:r4755
Nick Mathewson 20 anni fa
parent
commit
05bced6139
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      src/or/routerparse.c

+ 1 - 0
src/or/routerparse.c

@@ -330,6 +330,7 @@ check_software_version_against_directory(const char *directory)
      "Please use %s%s.",
       VERSION, strchr(v,',') ? "one of " : "", v);
   tor_free(v);
+  return 0;
 }
 
 /** Parse a directory from <b>str</b> and, when done, store the