From cbeb0b26e4c7caa8d1b47de791a7418dc20a4567 Mon Sep 17 00:00:00 2001 From: rsc Date: Sat, 1 Apr 2006 19:24:03 +0000 Subject: Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms. --- src/libauth/attr.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/libauth/attr.c') diff --git a/src/libauth/attr.c b/src/libauth/attr.c index d8ad9ab3..8adeefe6 100644 --- a/src/libauth/attr.c +++ b/src/libauth/attr.c @@ -144,10 +144,10 @@ _parseattr(char *s) t = tok[i]; if(p = strchr(t, '=')){ *p++ = '\0'; - // if(p-2 >= t && p[-2] == ':'){ - // p[-2] = '\0'; - // type = AttrDefault; - // }else + /* if(p-2 >= t && p[-2] == ':'){ */ + /* p[-2] = '\0'; */ + /* type = AttrDefault; */ + /* }else */ type = AttrNameval; a = _mkattr(type, t, p, a); setmalloctag(a, getcallerpc(&s)); -- cgit v1.2.3