From: PatR Date: Wed, 17 Feb 2016 22:08:19 +0000 (-0800) Subject: lev_comp lint redux X-Git-Tag: NetHack-3.6.1_RC01~914 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ba7fbb6e8b7b6cfe41f1be8edd0b87769bfbe319;p=nethack lev_comp lint redux The rest of this accidentally got pushed with the Reaper Man passages. --- diff --git a/util/lev_comp.y b/util/lev_comp.y index 1399c043e..9122ca5d5 100644 --- a/util/lev_comp.y +++ b/util/lev_comp.y @@ -1,5 +1,5 @@ %{ -/* NetHack 3.6 lev_comp.y $NHDT-Date: 1455745464 2016/02/17 21:44:24 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.20 $ */ +/* NetHack 3.6 lev_comp.y $NHDT-Date: 1455746893 2016/02/17 22:08:13 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.21 $ */ /* Copyright (c) 1989 by Jean-Christophe Collet */ /* NetHack may be freely redistributed. See license for details. */ @@ -2380,7 +2380,7 @@ func_param_part : any_var_or_arr ':' func_param_type } else if (!tmp) { lc_error("Could not alloc function params."); } else { - long vt = 0L; + long vt = SPOVAR_NULL; tmp->name = strdup($1); tmp->parmtype = (char) $3;