From 9cc2810b69ec36f75feb1e46f7301c41ee5686e1 Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Tue, 16 Apr 2013 04:39:47 +0200 Subject: [PATCH] src/minibuf.c (Ftest_completion): Silence compiler warning. --- src/ChangeLog | 4 ++++ src/minibuf.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 + + * minibuf.c (Ftest_completion): Silence compiler warning. + 2013-04-15 Eli Zaretskii * 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 -- 2.39.2