Skip to content
Snippets Groups Projects
Commit 64d018c3 authored by Julio Sánchez Fernández's avatar Julio Sánchez Fernández
Browse files

Make sure print_numericoid always returns with a value.

Remove some lint.
parent f5d28c6d
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment