git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added lots of "(void)" casts to standard function calls.
[exim.git]
/
src
/
src
/
mime.c
diff --git
a/src/src/mime.c
b/src/src/mime.c
index 05b6e3e2a00bcfe11b74f6dc98ce003bcfb93915..52c92ca85f7a4f1c5e4a538ebc85a3895d8c5c20 100644
(file)
--- a/
src/src/mime.c
+++ b/
src/src/mime.c
@@
-1,4
+1,4
@@
-/* $Cambridge: exim/src/src/mime.c,v 1.
7 2005/04/04 10:33:49
ph10 Exp $ */
+/* $Cambridge: exim/src/src/mime.c,v 1.
8 2005/06/27 14:29:43
ph10 Exp $ */
/*************************************************
* Exim - an Internet mail transport agent *
/*************************************************
* Exim - an Internet mail transport agent *
@@
-384,7
+384,7
@@
int mime_decode(uschar **listptr) {
}
}
- fclose(decode_file);
+
(void)
fclose(decode_file);
clearerr(mime_stream);
fseek(mime_stream,f_pos,SEEK_SET);
clearerr(mime_stream);
fseek(mime_stream,f_pos,SEEK_SET);
@@
-418,7
+418,7
@@
int mime_get_header(FILE *f, uschar *header) {
c = fgetc(f);
if (c == EOF) break;
if ( (c == '\t') || (c == ' ') ) continue;
c = fgetc(f);
if (c == EOF) break;
if ( (c == '\t') || (c == ' ') ) continue;
- ungetc(c,f);
+
(void)
ungetc(c,f);
};
/* end of the header, terminate with ';' */
c = ';';
};
/* end of the header, terminate with ';' */
c = ';';