summaryrefslogtreecommitdiff
path: root/src/xfns.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-03-09 17:06:01 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2011-03-09 17:06:01 -0800
commit06b0c8a0ddcb60b00fcf60a3dcd8b7193bca3cc7 (patch)
tree73a7b8b331100d1f327df4771b6f3360839b8d01 /src/xfns.c
parentc0951e534c34cb4400bf9dcb18ae40b31a684bae (diff)
downloademacs-06b0c8a0ddcb60b00fcf60a3dcd8b7193bca3cc7.tar.gz
* xfns.c: (x_real_positions, xg_set_icon_from_xpm_data, x_create_tip_frame):
Remove unused locals.
Diffstat (limited to 'src/xfns.c')
-rw-r--r--src/xfns.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/xfns.c b/src/xfns.c
index 45e0e13dcbc..21453a8958a 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -461,7 +461,7 @@ x_real_positions (FRAME_PTR f, int *xptr, int *yptr)
Window win = f->output_data.x->parent_desc;
Atom actual_type;
unsigned long actual_size, bytes_remaining;
- int i, rc, actual_format;
+ int rc, actual_format;
struct x_display_info *dpyinfo = FRAME_X_DISPLAY_INFO (f);
long max_len = 400;
Display *dpy = FRAME_X_DISPLAY (f);
@@ -746,7 +746,6 @@ xg_set_icon (FRAME_PTR f, Lisp_Object file)
int
xg_set_icon_from_xpm_data (FRAME_PTR f, const char **data)
{
- int result = 0;
GdkPixbuf *pixbuf = gdk_pixbuf_new_from_xpm_data (data);
if (!pixbuf)
@@ -4578,7 +4577,7 @@ x_create_tip_frame (struct x_display_info *dpyinfo,
Lisp_Object text)
{
struct frame *f;
- Lisp_Object frame, tem;
+ Lisp_Object frame;
Lisp_Object name;
long window_prompting = 0;
int width, height;