From fc9ec1323a4012c1a85c4a0d7aed0cb9f0001638 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Sun, 9 Nov 2003 10:53:06 +0000 Subject: [PATCH] (decl): Remove broken and redundant check of declarer's country number. Check is redundant, because invalid values can come only from natarg(), and those are checked above. Check is broken because natarg() returns negative value on error, not 255. --- src/lib/commands/decl.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib/commands/decl.c b/src/lib/commands/decl.c index 3d6aba44..25bd6839 100644 --- a/src/lib/commands/decl.c +++ b/src/lib/commands/decl.c @@ -101,8 +101,6 @@ decl(void) if (who < 0) return RET_SYN; } - if (who == 255) - return RET_SYN; natp = getnatp(who); while (nxtitem(&ni, (s_char *)&nat)) {