]> git.eshelyaron.com Git - emacs.git/commitdiff
Avoid compiler warning in indent.c
authorEli Zaretskii <eliz@gnu.org>
Thu, 16 Apr 2020 10:08:01 +0000 (13:08 +0300)
committerEli Zaretskii <eliz@gnu.org>
Thu, 16 Apr 2020 10:08:01 +0000 (13:08 +0300)
* src/indent.c (Fvertical_motion): Avoid compilation warning.
Reported by Juanma Barranquero <lekktu@gmail.com>.

src/indent.c

index f7db42783c183088da505e48706768eeb34a5661..2d07791606d3c7e2111fe460756aea3f5042dd0b 100644 (file)
@@ -2102,6 +2102,8 @@ whether or not it is currently displayed in some window.  */)
       lcols = XCAR (lines);
       lines = XCDR (lines);
     }
+  else
+    lcols = 0; /* shut up stupid GCC warning */
 
   CHECK_FIXNUM (lines);
   w = decode_live_window (window);