emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master bbc58fe: Avoid compiler warning


From: Ken Brown
Subject: [Emacs-diffs] master bbc58fe: Avoid compiler warning
Date: Wed, 22 Jun 2016 14:04:56 +0000 (UTC)

branch: master
commit bbc58feac57d070a3b645b7a132ee3f3624b6ddd
Author: Ken Brown <address@hidden>
Commit: Ken Brown <address@hidden>

    Avoid compiler warning
    
    * src/w32fns.c (Fx_show_tip): Don’t jump over auto initialization.
---
 src/w32fns.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/w32fns.c b/src/w32fns.c
index 02bd4d5..5ad2ca8 100644
--- a/src/w32fns.c
+++ b/src/w32fns.c
@@ -6898,6 +6898,7 @@ Text larger than the specified size is clipped.  */)
   ptrdiff_t count = SPECPDL_INDEX ();
   ptrdiff_t count_1;
   Lisp_Object window, size;
+  AUTO_STRING (tip, " *tip*");
 
   specbind (Qinhibit_redisplay, Qt);
 
@@ -7054,7 +7055,6 @@ Text larger than the specified size is clipped.  */)
 
   tip_f = XFRAME (tip_frame);
   window = FRAME_ROOT_WINDOW (tip_f);
-  AUTO_STRING (tip, " *tip*");
   set_window_buffer (window, Fget_buffer_create (tip), false, false);
   w = XWINDOW (window);
   w->pseudo_window_p = true;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]