Skip to content
Snippets Groups Projects
Commit 122070c3 authored by Eric Vidal's avatar Eric Vidal :speech_balloon:
Browse files

initialize stralloc pointer

parent 182a8e6d
No related branches found
No related tags found
No related merge requests found
......@@ -49,7 +49,7 @@ struct resolve_wrapper_s
} ;
#define RESOLVE_SET_SAWRES(wres) \
stralloc_ref sawres ; \
stralloc_ref sawres = 0 ; \
if (wres->type == SERVICE_STRUCT) sawres = (&((resolve_service_t *)wres->obj)->sa) ; \
else if (wres->type == TREE_STRUCT) sawres = (&((resolve_tree_t *)wres->obj)->sa) ;
......
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