Commit c0db82de authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

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

parent 622923f2
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment