Paul Eggert
ec6cf4c6ff
* image.c (my_png_error, my_error_exit): Mark with NO_RETURN.
2011-03-13 00:04:44 -08:00
Paul Eggert
f0c77cd1b2
* image.c (four_corners_best): Mark locals as initialized.
...
(gif_load): Initialize transparent_p to zero (Bug#8238).
Mark another local as initialized.
2011-03-12 23:50:17 -08:00
Paul Eggert
6ae141d682
* image.c: (clear_image_cache, xbm_read_bitmap_data, x_detect_edges):
...
(jpeg_load, gif_load): Rename locals to avoid shadowing.
2011-03-11 00:20:11 -08:00
Paul Eggert
2037898d7a
* image.c (gif_load): Fix pointer signedness.
2011-03-11 00:01:09 -08:00
Paul Eggert
77a765fd78
* image.c (x_edge_detection): Remove unnecessary cast that
...
gcc -Wbad-function-cast diagnoses.
2011-03-10 23:59:36 -08:00
Paul Eggert
e22cffbc1c
* image.c (xpm_load): Redo to avoid "discards qualifiers" gcc warning.
2011-03-10 23:54:50 -08:00
Paul Eggert
d5d5a6173b
* image.c (DIM, HAVE_STDLIB_H_1): Remove unused macros.
2011-03-10 23:50:08 -08:00
Paul Eggert
ce0ad53d44
* image.c (clear_image_cache): Now static.
...
2011-03-11 Paul Eggert <eggert@cs.ucla.edu>
2011-03-10 23:42:54 -08:00
Paul Eggert
1714f52b9d
Fix some minor problems found by GCC 4.5.2's static checks.
2011-03-10 23:24:21 -08:00
Paul Eggert
83316bf404
Merge: Minor changes for problems found by GCC 4.5.2's static checks.
2011-03-10 22:57:50 -08:00
Paul Eggert
53df7c1162
Add bug#s.
2011-03-10 22:41:50 -08:00
Paul Eggert
40714c5307
* fringe.c: Add comment.
2011-03-10 22:23:26 -08:00
Paul Eggert
4b1ec86341
* fringe.c (update_window_fringes): Mark locals as initialized
2011-03-10 22:06:36 -08:00
Andreas Schwab
c40f8d15c0
* .gdbinit (pwinx, xbuffer): Fix access to buffer name.
2011-03-11 01:19:57 +01:00
Paul Eggert
500188f483
* fringe.c (update_window_fringes): Initialize top_row_ends_at_zv_p and
...
bot_row_ends_at_zv_p, with a FIXME comment.
2011-03-10 13:46:21 -08:00
Paul Eggert
bf60f61682
* fringe.c (destroy_fringe_bitmap, init_fringe_bitmap): Now static.
2011-03-09 18:02:40 -08:00
Paul Eggert
524c7aa610
* alloc.c (mark_fringe_data): Move decl from here ...
...
* lisp.h (mark_fringe_data) [HAVE_WINDOW_SYSTEM]: ... to here,
to check its interface.
(init_fringe_once): Do not declare unless HAVE_WINDOW_SYSTEM.
2011-03-09 18:01:53 -08:00
Paul Eggert
58d2d47908
* xfns.c (Fx_create_frame, x_create_tip_frame, Fx_show_tip):
...
(Fx_backspace_delete_keys_p):
Use them to avoid shadowing, and rename vars to avoid shadowing.
(x_decode_color, x_set_name, x_window): Now static.
2011-03-09 17:58:37 -08:00
Paul Eggert
a9a06e0b10
* fontset.c (FONTSET_SPEC, FONTSET_REPERTORY, RFONT_DEF_REPERTORY): Remove; unused.
2011-03-09 17:48:47 -08:00
Paul Eggert
cc6e5db1ae
* fontset.c (fontset_font): Mark local as initialized.
2011-03-09 17:44:38 -08:00
Paul Eggert
7519b8cd68
* fontset.c (Fset_fontset_font): Rename local to avoid shadowing.
2011-03-09 17:43:19 -08:00
Paul Eggert
a5c0af8162
* fontset.c (free_realized_fontset): Now static.
2011-03-09 17:41:18 -08:00
Paul Eggert
b471602178
* xrdb.c: Include "xterm.h", to check x_load_resources's interface.
2011-03-09 17:40:21 -08:00
Paul Eggert
aa0daa9f93
* xselect.c (x_own_selection, Fx_disown_selection_internal): Rename locals
...
to avoid shadowing.
(x_handle_dnd_message): Remove local to avoid shadowing.
2011-03-09 17:36:58 -08:00
Paul Eggert
7b83e2f1ff
* xselect.c (TRACE3) [!defined TRACE_SELECTION]: Remove; not used.
2011-03-09 17:31:57 -08:00
Paul Eggert
811e9bacd8
* xselect.c (x_disown_buffer_selections): Remove; not used.
2011-03-09 17:30:22 -08:00
Paul Eggert
7e3ab3026e
* lisp.h (GCPRO1_VAR, UNGCPRO_VAR): New macros,
...
so that the caller can use some name other than gcpro1.
(GCPRO1, UNGCPRO): Reimplement in terms of the new macros.
(Fx_create_frame, x_create_tip_frame, Fx_show_tip):
(Fx_backspace_delete_keys_p): Rename locals to avoid shadowing.
Some of these renamings use the new GCPRO1_VAR and UNGCPRO_VAR
macros.
2011-03-09 17:28:06 -08:00
Paul Eggert
06b0c8a0dd
* xfns.c: (x_real_positions, xg_set_icon_from_xpm_data, x_create_tip_frame):
...
Remove unused locals.
2011-03-09 17:06:01 -08:00
Paul Eggert
c0951e534c
* xfns.c (Fx_file_dialog, Fx_select_font): Fix pointer signedness.
2011-03-09 17:03:29 -08:00
Paul Eggert
6b43790020
* xfns.c (Fx_create_frame): Add braces to silence GCC warning.
2011-03-09 16:59:17 -08:00
Paul Eggert
f78faa98a2
* xfns.c (x_decode_color, x_set_name, x_window): Now static.
2011-03-09 16:58:10 -08:00
Paul Eggert
2a8fade062
* xterm.c (x_connection_closed): Tell GCC not to suggest NO_RETURN.
2011-03-09 09:39:28 -08:00
Paul Eggert
28f1c69813
* xterm.c (x_delete_glyphs, x_ins_del_lines): Mark with NO_RETURN.
2011-03-09 09:30:24 -08:00
Juanma Barranquero
cfe0661dbe
* src/search.c (compile_pattern_1): Remove unused argument.
...
(compile_pattern): Don't pass it.
2011-03-09 17:18:51 +01:00
Paul Eggert
a6067996d8
* xterm.c: (x_draw_image_foreground, redo_mouse_highlight, XTmouse_position):
...
(x_scroll_bar_report_motion, handle_one_xevent, x_draw_bar_cursor):
(x_error_catcher, x_connection_closed, x_error_handler):
(x_error_quitter, xembed_send_message, x_iconify_frame):
(my_log_handler): Rename locals to avoid shadowing.
2011-03-09 01:12:38 -08:00
Paul Eggert
38d0b34afe
* xterm.c (XEMBED_VERSION, xembed_set_info): Don't define unless needed.
...
(x_fatal_error_signal): Remove; not used.
2011-03-08 23:17:17 -08:00
Paul Eggert
ed7bf3a5ee
* xterm.c (x_iconify_frame, x_free_frame_resources): Don't declare locals
...
unless they are used.
2011-03-08 23:11:42 -08:00
Paul Eggert
2b07bcffb0
* xterm.c: Don't declare local "event" unless it's used.
2011-03-08 23:07:42 -08:00
Paul Eggert
7411c6867f
* xterm.c (XTread_socket): Don't define label "out" unless it's used.
2011-03-08 23:05:07 -08:00
Paul Eggert
cdf4ba58eb
* xterm.c: (x_shift_glyphs_for_insert, XTflash, XTring_bell):
...
(x_calc_absolute_position): Now static.
2011-03-08 23:02:55 -08:00
Paul Eggert
e2b134730c
* xterm.h (x_mouse_leave): New decl.
2011-03-08 23:01:14 -08:00
Paul Eggert
77f2391201
* xterm.c (x_copy_dpy_color, x_focus_on_frame, x_unfocus_frame):
...
Remove unused functions.
2011-03-08 22:40:38 -08:00
Paul Eggert
73719eba5c
* xfaces.c (STRDUPA, LSTRDUPA, FONT_POINT_SIZE_QUANTUM): Remove; not used.
...
(LFACEP): Define only if XASSERTS, as it's not needed otherwise.
2011-03-08 22:29:34 -08:00
Paul Eggert
1e9966ea02
* xfaces.c (Fx_list_fonts): Mark variable that gcc -Wuninitialized
...
does not deduce is never used uninitialized.
2011-03-08 22:25:19 -08:00
Paul Eggert
5967d05138
* xfaces.c (free_realized_faces_for_fontset): Remove; not used.
2011-03-08 22:23:48 -08:00
Paul Eggert
6b463e581f
* xfaces.c (tty_defined_color, merge_face_heights): Now static.
2011-03-08 22:22:39 -08:00
Paul Eggert
c2ed9c8b0c
* term.c (encode_terminal_code): Mark vars for gcc -Wuninitialized.
2011-03-08 22:21:25 -08:00
Paul Eggert
071048a3f5
* xfaces.c (clear_face_cache, Fx_list_fonts, Fface_font): Rename
...
or move locals to avoid shadowing.
2011-03-08 22:17:32 -08:00
Paul Eggert
426994c304
* terminal.c (store_terminal_param): Now static.
2011-03-08 22:07:27 -08:00
Paul Eggert
b024a9466a
* term.c, tparam.h (tgetflag, tgetnum, tgetstr): Move the const to the .h file
2011-03-08 21:46:35 -08:00