projects
/
vimb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d4a176
)
Fixed potentially uninitialized variable.
author
Daniel Carl
<danielcarl@gmx.de>
Sun, 24 Mar 2013 19:11:37 +0000
(20:11 +0100)
committer
Daniel Carl
<danielcarl@gmx.de>
Sun, 24 Mar 2013 19:11:37 +0000
(20:11 +0100)
src/command.c
patch
|
blob
|
history
diff --git
a/src/command.c
b/src/command.c
index
e1aa8a5
..
89b6b13
100644
(file)
--- 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 */