The last element of the definitions of enums can't have a trailing
authorTim Potter <tpot@samba.org>
Sun, 2 Jun 2002 23:23:16 +0000 (23:23 +0000)
committerTim Potter <tpot@samba.org>
Sun, 2 Jun 2002 23:23:16 +0000 (23:23 +0000)
comma.  Only initialisers can have this in ANSI C.
(This used to be commit b6119f583552425c2be30662e9325270a5dbf096)

source3/nsswitch/wbinfo.c

index e41f2c6468ef9ed338d3c5c9db79c2536ecd883b..f8510497b07537c51a92bdf5d9d3654d3326242c 100644 (file)
@@ -649,7 +649,7 @@ static void usage(void)
 
 enum {
        OPT_SET_AUTH_USER = 1000,
-       OPT_SEQUENCE,
+       OPT_SEQUENCE
 };
 
 int main(int argc, char **argv)