]> granicus.if.org Git - nethack/commitdiff
lev_comp lint redux
authorPatR <rankin@nethack.org>
Wed, 17 Feb 2016 22:08:19 +0000 (14:08 -0800)
committerPatR <rankin@nethack.org>
Wed, 17 Feb 2016 22:08:19 +0000 (14:08 -0800)
The rest of this accidentally got pushed with the Reaper Man passages.

util/lev_comp.y

index 1399c043edbec29ccd6452ba42906505a1dbd70d..9122ca5d56c9a6ea8d9bd6463a89557a7b5621e4 100644 (file)
@@ -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;