mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
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:
parent
18e25ce273
commit
dda11f0e38
11 changed files with 28 additions and 18 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue