changeset 107868:93782019c88c

* xdisp.c (message): Do not use NO_ARG_ARRAY.
author Dan Nicolaescu <dann@ics.uci.edu>
date Thu, 15 Apr 2010 11:24:00 -0700
parents 34e533ec15e0
children 852124e6110f
files src/ChangeLog src/xdisp.c
diffstat 2 files changed, 2 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Thu Apr 15 11:19:00 2010 -0700
+++ b/src/ChangeLog	Thu Apr 15 11:24:00 2010 -0700
@@ -1,5 +1,7 @@
 2010-04-15  Dan Nicolaescu  <dann@ics.uci.edu>
 
+	* xdisp.c (message): Do not use NO_ARG_ARRAY.
+
 	* frame.h (FRAME_SAMPLE_VISIBILITY): Remove unused 0 in comma expression.
 
 2010-04-14  Dan Nicolaescu  <dann@ics.uci.edu>
--- a/src/xdisp.c	Thu Apr 15 11:19:00 2010 -0700
+++ b/src/xdisp.c	Thu Apr 15 11:24:00 2010 -0700
@@ -8472,7 +8472,6 @@
 	  if (m)
 	    {
 	      int len;
-#ifdef NO_ARG_ARRAY
 	      char *a[3];
 	      a[0] = (char *) a1;
 	      a[1] = (char *) a2;
@@ -8480,11 +8479,6 @@
 
 	      len = doprnt (FRAME_MESSAGE_BUF (f),
 			    FRAME_MESSAGE_BUF_SIZE (f), m, (char *)0, 3, a);
-#else
-	      len = doprnt (FRAME_MESSAGE_BUF (f),
-			    FRAME_MESSAGE_BUF_SIZE (f), m, (char *)0, 3,
-			    (char **) &a1);
-#endif /* NO_ARG_ARRAY */
 
 	      message2 (FRAME_MESSAGE_BUF (f), len, 0);
 	    }