Fix a bunch of -Wempty-body warnings reported by clang
Many of these were real bugs, like: if (cond); do_something etc... Others were just cosmetic - like placing the ';' on a separate line to make the intention clear.
This commit is contained in:
@@ -789,8 +789,9 @@ DtMailServer::retrieve_messages(DtMailEnv &error)
|
||||
if (ok != DTME_MailServerAccess_SocketIOError)
|
||||
if (ok == DTME_NoError)
|
||||
ok = ptrans_quit();
|
||||
else
|
||||
else {
|
||||
(void) ptrans_quit();
|
||||
}
|
||||
vtalarm_setitimer(0);
|
||||
SockClose(_sockfp);
|
||||
_sockfp = NULL;
|
||||
|
||||
Reference in New Issue
Block a user