In getdate.y, remove an error check from r19656 which couldn't ever
authorGreg Hudson <ghudson@mit.edu>
Fri, 21 May 2010 19:08:41 +0000 (19:08 +0000)
committerGreg Hudson <ghudson@mit.edu>
Fri, 21 May 2010 19:08:41 +0000 (19:08 +0000)
trigger (Convert() does not use an error parameter).

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24082 dc483132-0cff-0310-8789-dd5450dbe970

src/kadmin/cli/getdate.y

index a4173f53e70481da4586dc431e009e768b48d53c..c8b11d8cead4209b8d7273e5a7dac8de24f8dc4f 100644 (file)
@@ -968,8 +968,6 @@ get_date(char *p)
                        yyMeridian, yyDSTmode);
        if (Start < 0)
            return -1;
-       if (error != 0)
-           return -1;
     }
     else {
        Start = now->time;