Enable compilation with clang

Some functions that ought to return a value call return without any value. This
commit adds a dummy value to each of those returns so that clang stops
complaining.
This commit is contained in:
Robert Clausecker
2013-03-09 18:32:44 +01:00
parent 2b5f8dcd61
commit a00b1bdd48
4 changed files with 15 additions and 15 deletions

View File

@@ -960,7 +960,7 @@ int NNTPgetarthdrs(char *art,char **ref, char **grp, char **subj, char **from)
char ch = *p++ = HTGetCharacter ();
if (ch==(char)EOF) {
abort_socket(); /* End of file, close socket */
return; /* End of file on response */
return -1; /* End of file on response */
}
if ((ch == LF)