changeset 6518:07ecb7a5c916

(x_consider_frame_title, decode_mode_spec): Use assignment, not initialization.
author Karl Heuer <kwzh@gnu.org>
date Fri, 25 Mar 1994 00:41:29 +0000
parents 8f5f79c3091a
children 22c56514eeb3
files src/xdisp.c
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Fri Mar 25 00:41:05 1994 +0000
+++ b/src/xdisp.c	Fri Mar 25 00:41:29 1994 +0000
@@ -405,8 +405,9 @@
 
   if (FRAME_X_P (f) && ! FRAME_MINIBUF_ONLY_P (f))
     {
-      Lisp_Object title = Qnil;
-
+      Lisp_Object title;
+
+      title = Qnil;
       if (! EQ (Fnext_frame (frame, Qnil), frame))
 	title = XBUFFER (XWINDOW (f->selected_window)->buffer)->name;
 
@@ -2704,10 +2705,11 @@
      register char c;
      register int maxwidth;
 {
-  Lisp_Object obj = Qnil;
+  Lisp_Object obj;
   FRAME_PTR f = XFRAME (WINDOW_FRAME (w));
   char *decode_mode_spec_buf = (char *) FRAME_TEMP_GLYPHS (f)->total_contents;
 
+  obj = Qnil;
   if (maxwidth > FRAME_WIDTH (f))
     maxwidth = FRAME_WIDTH (f);