summaryrefslogtreecommitdiff
path: root/src/frame.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2013-08-26 10:31:00 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2013-08-26 10:31:00 -0700
commitf5adc984fbdc82def6edc297e88c3ee993c674ae (patch)
treef09b6662021dba147df093744430754faa224faf /src/frame.c
parent447218dd746e66544176995f1c791609b632a398 (diff)
* frame.c (check_minibuf_window): Initialize 'window' properly,
so that Emacs reliably aborts later if 'window' is not initialized.
Diffstat (limited to 'src/frame.c')
-rw-r--r--src/frame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frame.c b/src/frame.c
index 4855734c2f..5ee421bb9b 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -1122,7 +1122,7 @@ check_minibuf_window (Lisp_Object frame, int select)
if (WINDOWP (minibuf_window) && EQ (f->minibuffer_window, minibuf_window))
{
- Lisp_Object frames, this, window;
+ Lisp_Object frames, this, window = make_number (0);
if (!EQ (frame, selected_frame)
&& FRAME_HAS_MINIBUF_P (XFRAME (selected_frame)))