]> git.sur5r.net Git - openldap/commitdiff
Make sure print_numericoid always returns with a value.
authorJulio Sánchez Fernández <jsanchez@openldap.org>
Wed, 16 Jun 1999 12:31:18 +0000 (12:31 +0000)
committerJulio Sánchez Fernández <jsanchez@openldap.org>
Wed, 16 Jun 1999 12:31:18 +0000 (12:31 +0000)
Remove some lint.

libraries/libldap/schema.c

index 9bbb878787e902ffe5ecebbbff18bde35cfc3c91..2a9d3ec32fbbf876e6e4c312b7aaeea7ae3bad8c 100644 (file)
@@ -126,6 +126,8 @@ print_numericoid(safe_string *ss, char *s)
 {
        if ( s )
                return(append_to_safe_string(ss,s));
+       else
+               return(append_to_safe_string(ss,""));
 }
 
 /* This one is identical to print_qdescr */
@@ -747,7 +749,6 @@ static char *
 parse_noidlen(const char **sp, int *code, int *len, int allow_quoted)
 {
        char * sval;
-       int kind;
        int quoted = 0;
 
        *len = 0;