]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_window_to_scroll_bar, x_new_font): Use assignment, not initialization.
authorKarl Heuer <kwzh@gnu.org>
Fri, 25 Mar 1994 00:42:47 +0000 (00:42 +0000)
committerKarl Heuer <kwzh@gnu.org>
Fri, 25 Mar 1994 00:42:47 +0000 (00:42 +0000)
src/xterm.c

index 6bc4b1a2f1d65daf31a7617ebe5bceda2a708987..2e3e8a4d3e3507e48b060f9fcb87b62974029bde 100644 (file)
@@ -2024,9 +2024,9 @@ x_window_to_scroll_bar (window_id)
        XGCTYPE (tail) == Lisp_Cons;
        tail = XCONS (tail)->cdr)
     {
-      Lisp_Object frame = XCONS (tail)->car;
-      Lisp_Object bar, condemned;
+      Lisp_Object frame, bar, condemned;
 
+      frame = XCONS (tail)->car;
       /* All elements of Vframe_list should be frames.  */
       if (XGCTYPE (frame) != Lisp_Frame)
        abort ();
@@ -4500,8 +4500,9 @@ x_new_font (f, fontname)
     }
 
   {
-    Lisp_Object lispy_name = build_string (fontname);
+    Lisp_Object lispy_name;
 
+    lispy_name = build_string (fontname);
 
     /* Free the information from XListFonts.  The data
        we actually retain comes from XLoadQueryFont.  */