From 442a306a60d4529f5cae70c0a659b4bc31d2f07b Mon Sep 17 00:00:00 2001 From: Haru Date: Fri, 18 Sep 2015 17:33:58 +0200 Subject: Clarified intent in various side-effect assignments While this doesn't change anything in the way those assignments work, it clarifies that they're intended to be side-effect assignments and not typos (to both human readers and static analyzers) Signed-off-by: Haru --- src/map/atcommand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/atcommand.c') diff --git a/src/map/atcommand.c b/src/map/atcommand.c index acc9dff9f..f01311235 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -210,7 +210,7 @@ ACMD(send) // read message type as hex number (without the 0x) if (!*message - || !((sscanf(message, "len %x", &type)==1 && (len=1)) + || !((sscanf(message, "len %x", &type)==1 && (len=1, true)) || sscanf(message, "%x", &type)==1) ) { clif->message(fd, msg_fd(fd,900)); // Usage: -- cgit v1.2.3-60-g2f50