From: Daniel Carl Date: Sun, 24 Mar 2013 19:11:37 +0000 (+0100) Subject: Fixed potentially uninitialized variable. X-Git-Url: https://git.owens.tech/assets/static/git.owens.tech/assets/static/git.owens.tech/git?a=commitdiff_plain;h=0aeb5019db2e432d88ec14759aace5b07968ef44;p=vimb.git Fixed potentially uninitialized variable. --- 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 */