aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/AutoComplete.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/AutoComplete.cxx')
-rw-r--r--src/AutoComplete.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/AutoComplete.cxx b/src/AutoComplete.cxx
index 8c18ec5f5..7f7412e43 100644
--- a/src/AutoComplete.cxx
+++ b/src/AutoComplete.cxx
@@ -126,7 +126,7 @@ void AutoComplete::Select(const char *word) {
while ((start <= end) && (location == -1)) { // Binary searching loop
int pivot = (start + end) / 2;
lb.GetValue(pivot, item, maxItemLen);
- int cond = 0;
+ int cond;
if (ignoreCase)
cond = CompareNCaseInsensitive(word, item, lenWord);
else