]> git.pond.sub.org Git - empserver/commitdiff
(decl): Remove broken and redundant check of declarer's country
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 9 Nov 2003 10:53:06 +0000 (10:53 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 9 Nov 2003 10:53:06 +0000 (10:53 +0000)
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

index 3d6aba44214ec45402124f9e712e705d70654890..25bd6839cba682385f6abc4e83b682cd271906c3 100644 (file)
@@ -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)) {