summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ChangeLog4
-rw-r--r--src/minibuf.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 11b82f57108..36f015db5fa 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2013-04-16 Juanma Barranquero <lekktu@gmail.com>
+
+ * minibuf.c (Ftest_completion): Silence compiler warning.
+
2013-04-15 Eli Zaretskii <eliz@gnu.org>
* w32fns.c (w32_wnd_proc): Add more assertions to investigate
diff --git a/src/minibuf.c b/src/minibuf.c
index 4cc1f8d435a..b96d27e0742 100644
--- a/src/minibuf.c
+++ b/src/minibuf.c
@@ -1799,8 +1799,8 @@ the values STRING, PREDICATE and `lambda'. */)
else if (HASH_TABLE_P (collection))
{
struct Lisp_Hash_Table *h = XHASH_TABLE (collection);
- i = hash_lookup (h, string, NULL);
Lisp_Object key = Qnil;
+ i = hash_lookup (h, string, NULL);
if (i >= 0)
tem = HASH_KEY (h, i);
else