Fix: empty undocumented branches

This commit is contained in:
rubidium42
2021-05-11 19:36:21 +02:00
committed by rubidium42
parent bb9121dbd4
commit ddaedaf32a
3 changed files with 3 additions and 3 deletions

View File

@@ -457,7 +457,7 @@ void EmitGender(Buffer *buffer, char *buf, int value)
/* This is a {G 0 foo bar two} command.
* If no relative number exists, default to +0 */
if (!ParseRelNum(&buf, &argidx, &offset)) {}
ParseRelNum(&buf, &argidx, &offset);
const CmdStruct *cmd = _cur_pcs.cmd[argidx];
if (cmd == nullptr || (cmd->flags & C_GENDER) == 0) {