changeset 25726:9bfb1496cdd8

(PRINTFULLP): Removed because it is no longer used and is misleading. (Ferror_message_string): Remove unused variables. (print_object): Cast argument of sprintf to long for `%ld' specifier. Remove unused variable.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 15 Sep 1999 12:58:37 +0000
parents b7468dc89ccb
children 46fe79182b54
files src/print.c
diffstat 1 files changed, 2 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/src/print.c	Wed Sep 15 12:58:31 1999 +0000
+++ b/src/print.c	Wed Sep 15 12:58:37 1999 +0000
@@ -290,13 +290,6 @@
 
 #define PRINTCHAR(ch) printchar (ch, printcharfun)
 
-/* Nonzero if there is no room to print any more characters
-   so print might as well return right away.  */
-
-#define PRINTFULLP()					\
- (EQ (printcharfun, Qt) && !noninteractive		\
-  && printbufidx >= FRAME_WIDTH (XFRAME (WINDOW_FRAME (XWINDOW (minibuf_window)))))
-
 /* This is used to restore the saved contents of print_buffer
    when there is a recursive call to print.  */
 
@@ -849,7 +842,7 @@
      Lisp_Object obj;
 {
   struct buffer *old = current_buffer;
-  Lisp_Object original, printcharfun, value;
+  Lisp_Object value;
   struct gcpro gcpro1;
 
   /* If OBJ is (error STRING), just return STRING.
@@ -1255,7 +1248,7 @@
       if (sizeof (int) == sizeof (EMACS_INT))
 	sprintf (buf, "%d", XINT (obj));
       else if (sizeof (long) == sizeof (EMACS_INT))
-	sprintf (buf, "%ld", XINT (obj));
+	sprintf (buf, "%ld", (long) XINT (obj));
       else
 	abort ();
       strout (buf, -1, -1, printcharfun, 0);
@@ -1278,7 +1271,6 @@
       else
 	{
 	  register int i, i_byte;
-	  register unsigned char c;
 	  struct gcpro gcpro1;
 	  unsigned char *str;
 	  int size_byte;