]> code.delx.au - gnu-emacs/commitdiff
Avoid compiler warning
authorKen Brown <kbrown@cornell.edu>
Wed, 22 Jun 2016 14:04:44 +0000 (10:04 -0400)
committerKen Brown <kbrown@cornell.edu>
Wed, 22 Jun 2016 14:04:44 +0000 (10:04 -0400)
* src/w32fns.c (Fx_show_tip): Don’t jump over auto initialization.

src/w32fns.c

index 02bd4d5594227a756e799854a360d5540e68166a..5ad2ca857a2785962a9dc4bb99b8a861524522bf 100644 (file)
@@ -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;