set result to 0 in switch default branch
parent
27e2216a77
commit
15526c7277
|
|
@ -923,6 +923,9 @@ static int iniAddAnnotation(char *params)
|
|||
result = ((init_annotation_func3)init_func)(&annotation,
|
||||
cols[2], cols[3], cols[4]);
|
||||
break;
|
||||
default:
|
||||
result = 0;
|
||||
break;
|
||||
}
|
||||
|
||||
if (result != 0)
|
||||
|
|
|
|||
Loading…
Reference in New Issue