mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-07 14:18:15 +08:00
Make sure print_numericoid always returns with a value.
Remove some lint.
This commit is contained in:
parent
f5d28c6df5
commit
64d018c357
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user