mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-17 18:37:33 +00:00
Fix compilation warning in snake.el
* lisp/play/snake.el (snake-reset-game): Avoid warning about unused variable.
This commit is contained in:
parent
6803328561
commit
6ac270dcd3
1 changed files with 1 additions and 1 deletions
|
|
@ -279,7 +279,7 @@ and then start moving it leftwards.")
|
|||
snake-velocity-queue nil)
|
||||
(let ((x snake-initial-x)
|
||||
(y snake-initial-y))
|
||||
(dotimes (i snake-length)
|
||||
(dotimes (_ snake-length)
|
||||
(gamegrid-set-cell x y snake-snake)
|
||||
(setq snake-positions (cons (vector x y) snake-positions))
|
||||
(cl-incf x snake-velocity-x)
|
||||
|
|
|
|||
Loading…
Reference in a new issue