[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master e0400b7: Pacify --enable-gcc-warnings
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] master e0400b7: Pacify --enable-gcc-warnings |
Date: |
Tue, 08 Mar 2016 15:35:31 +0000 |
branch: master
commit e0400b72a24d67b53f71c8b97915cae599e36c37
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>
Pacify --enable-gcc-warnings
* src/xfns.c (x_create_tip_frame): Omit unused local.
(Fx_show_tip): Don’t jump over auto initialization.
---
src/xfns.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/xfns.c b/src/xfns.c
index c1ce1b7..596b67c 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -5354,7 +5354,6 @@ x_create_tip_frame (struct x_display_info *dpyinfo,
Lisp_Object parms)
int width, height;
ptrdiff_t count = SPECPDL_INDEX ();
bool face_change_before = face_change;
- Lisp_Object buffer;
int x_width = 0, x_height = 0;
if (!dpyinfo->terminal->name)
@@ -5873,6 +5872,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);
@@ -6036,7 +6036,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;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master e0400b7: Pacify --enable-gcc-warnings,
Paul Eggert <=