Pacify --enable-gcc-warnings
* src/charset.c (load_charset_map): * src/coding.c (decode_coding_object): * src/frame.c (make_frame): * src/window.c (Frecenter): Mark locals with UNINIT to silence false alarms from -Wmaybe-uninitialized. * src/lisp.h (SYMBOL_ALIAS, SYMBOL_BLV, SYMBOL_FWD) (SET_SYMBOL_ALIAS, SET_SYMBOL_BLV, SET_SYMBOL_FWD): Check and assume that values are nonnull. This pacifies -Wmaybe-uninitialized in Fmake_variable_buffer_local and Fmake_local_variable.
This commit is contained in:
@@ -8028,12 +8028,12 @@ decode_coding_object (struct coding_system *coding,
|
||||
Lisp_Object dst_object)
|
||||
{
|
||||
ptrdiff_t count = SPECPDL_INDEX ();
|
||||
unsigned char *destination;
|
||||
ptrdiff_t dst_bytes;
|
||||
unsigned char *destination UNINIT;
|
||||
ptrdiff_t dst_bytes UNINIT;
|
||||
ptrdiff_t chars = to - from;
|
||||
ptrdiff_t bytes = to_byte - from_byte;
|
||||
Lisp_Object attrs;
|
||||
ptrdiff_t saved_pt = -1, saved_pt_byte;
|
||||
ptrdiff_t saved_pt = -1, saved_pt_byte UNINIT;
|
||||
bool need_marker_adjustment = 0;
|
||||
Lisp_Object old_deactivate_mark;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user