Skip to content
Snippets Groups Projects
Commit c0db82de authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Fix compiler warning: argument 1 null where non-null expected.

parent 622923f2
No related branches found
No related tags found
No related merge requests found
......@@ -54,7 +54,7 @@ static CdiFallbackIterator *cdiFallbackIterator_condestruct(CdiFallbackIterator
me->curVariable = -1;
me->curSubtype = -1;
me->curLevel = -1;
me->path = strdup(path);
me->path = path ? strdup(path) : NULL;
if(!me->path) goto closeStream;
return me;
......
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