From 0aeb5019db2e432d88ec14759aace5b07968ef44 Mon Sep 17 00:00:00 2001 From: Daniel Carl Date: Sun, 24 Mar 2013 20:11:37 +0100 Subject: [PATCH] Fixed potentially uninitialized variable. --- src/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/command.c b/src/command.c index e1aa8a5..89b6b13 100644 --- a/src/command.c +++ b/src/command.c @@ -511,7 +511,7 @@ gboolean command_history(const Arg* arg) { const char* input = GET_TEXT(); int step = vb.state.count ? vb.state.count * arg->i : arg->i; - const char* entry; + const char* entry = NULL; char* prefix = NULL; /* use the right history type according to current input text */ -- 2.20.1