]> The Tcpdump Group git mirrors - libpcap/commitdiff
Get rid of unnecessary trailing semicolon in macro.
authorGuy Harris <[email protected]>
Fri, 1 Nov 2019 17:49:18 +0000 (10:49 -0700)
committerGuy Harris <[email protected]>
Fri, 1 Nov 2019 17:49:18 +0000 (10:49 -0700)
Calls to the macro are followed by a semicolon, so that's how the
semicolon at the end of the last statement gets there.

rpcapd/daemon.c

index 51ed295d14153e5f8e3f805af7eba447c899bfc0..e7c6a66a57c41d9deb49b303cebb27297aba4607 100644 (file)
@@ -1584,7 +1584,7 @@ daemon_AuthUserPwd(char *username, char *password, char *errbuf)
                    sizeof (errmsgbuf)); \
                goto error; \
        } \
-       replylen += (uint32)(itemlen);
+       replylen += (uint32)(itemlen)
 
 static int
 daemon_msg_findallif_req(uint8 ver, struct daemon_slpars *pars, uint32 plen)