mirror of
https://github.com/diasurgical/devilution.git
synced 2026-06-20 05:46:12 +00:00
Put braces around for loop with empty body.
This commit is contained in:
committed by
Anders Jenbo
parent
e18a70f82b
commit
82527fb92b
+2
-1
@@ -32,8 +32,9 @@ void __fastcall tmsg_add(BYTE *pbMsg, BYTE bLen)
|
||||
msg->hdr.dwTime = GetTickCount() + 500;
|
||||
msg->hdr.bLen = bLen;
|
||||
memcpy(msg->body, pbMsg, bLen);
|
||||
for (tail = &sgpTimedMsgHead; *tail; tail = &(*tail)->hdr.pNext)
|
||||
for (tail = &sgpTimedMsgHead; *tail; tail = &(*tail)->hdr.pNext) {
|
||||
;
|
||||
}
|
||||
*tail = msg;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user