diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c
index 73b3a52..5af2b40 100644
--- a/src/ex_cmds2.c
+++ b/src/ex_cmds2.c
@@ -1256,8 +1256,6 @@ stop_timer(timer_T *timer)
     void
 stop_all_timers(void)
 {
-    timer_T *timer;
-
     while (first_timer != NULL)
 	stop_timer(first_timer);
 }
