# HG changeset patch # User Gerd Moellmann # Date 977431210 0 # Node ID 9794feac3a9d03eb4e63f9f73e3e620d69267c35 # Parent b473bc6d9a5523cc6732dd1d42355bf1680c1aef (print_unwind): Return nil. (PRINTDECLARE): Initialize all local variables. (print_preprocess): Add a default case. diff -r b473bc6d9a55 -r 9794feac3a9d src/print.c --- a/src/print.c Thu Dec 21 19:58:34 2000 +0000 +++ b/src/print.c Thu Dec 21 20:40:10 2000 +0000 @@ -1,5 +1,5 @@ /* Lisp object printing and output streams. - Copyright (C) 1985, 86, 88, 93, 94, 95, 97, 98, 1999 + Copyright (C) 1985, 86, 88, 93, 94, 95, 97, 98, 1999, 2000 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -190,8 +190,8 @@ #define PRINTDECLARE \ struct buffer *old = current_buffer; \ - int old_point = -1, start_point; \ - int old_point_byte, start_point_byte; \ + int old_point = -1, start_point = -1; \ + int old_point_byte = -1, start_point_byte = -1; \ int specpdl_count = specpdl_ptr - specpdl; \ int free_print_buffer = 0; \ int multibyte = !NILP (current_buffer->enable_multibyte_characters); \ @@ -291,6 +291,7 @@ Lisp_Object saved_text; { bcopy (XSTRING (saved_text)->data, print_buffer, XSTRING (saved_text)->size); + return Qnil; } @@ -1186,6 +1187,10 @@ size = XVECTOR (obj)->size & PSEUDOVECTOR_SIZE_MASK; for (i = 0; i < size; i++) print_preprocess (XVECTOR (obj)->contents[i]); + break; + + default: + break; } } }