diff options
Diffstat (limited to 'expr.c')
-rw-r--r-- | expr.c | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -367,12 +367,13 @@ ExprResolveModMask(ExprDef * expr, ExprResult * val_rtrn, IdentLookupFunc lookup, XPointer lookupPriv) { - LookupPriv priv; + LookupPriv priv = { + .priv = NULL, + .chain = lookup, + .chainPriv = lookupPriv + }; - priv.priv = NULL; - priv.chain = lookup; - priv.chainPriv = lookupPriv; - return ExprResolveMask(expr, val_rtrn, LookupModMask, (XPointer) & priv); + return ExprResolveMask(expr, val_rtrn, LookupModMask, (XPointer) &priv); } int |