projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed void casts for ignored return values of function calls.
[mmh]
/
uip
/
inc.c
diff --git
a/uip/inc.c
b/uip/inc.c
index
2a866e9
..
1834c92
100644
(file)
--- a/
uip/inc.c
+++ b/
uip/inc.c
@@
-463,7
+463,7
@@
main(int argc, char **argv)
if (incerr < 0) { /* error */
if (locked) {
GETGROUPPRIVS(); /* Be sure we can unlock mail file */
if (incerr < 0) { /* error */
if (locked) {
GETGROUPPRIVS(); /* Be sure we can unlock mail file */
- (void) lkfclose(in, newmail); in = NULL;
+ lkfclose(in, newmail); in = NULL;
DROPGROUPPRIVS(); /*
** And then return us to normal
** privileges
DROPGROUPPRIVS(); /*
** And then return us to normal
** privileges
@@
-506,7
+506,7
@@
main(int argc, char **argv)
if (msgnum == hghnum) {
admonish(NULL, "no messages incorporated");
} else {
if (msgnum == hghnum) {
admonish(NULL, "no messages incorporated");
} else {
- context_replace(pfolder, folder); /* update current folder */
+ context_replace(curfolder, folder); /* update current folder */
if (chgflag)
mp->curmsg = hghnum + 1;
mp->hghmsg = msgnum;
if (chgflag)
mp->curmsg = hghnum + 1;
mp->hghmsg = msgnum;
@@
-521,7
+521,7
@@
main(int argc, char **argv)
*/
if (locked) {
GETGROUPPRIVS(); /* Be sure we can unlock mail file */
*/
if (locked) {
GETGROUPPRIVS(); /* Be sure we can unlock mail file */
- (void) lkfclose(in, newmail); in = NULL;
+ lkfclose(in, newmail); in = NULL;
DROPGROUPPRIVS(); /* And then return us to normal privileges */
} else {
fclose(in); in = NULL;
DROPGROUPPRIVS(); /* And then return us to normal privileges */
} else {
fclose(in); in = NULL;