# HG changeset patch # User Dan Nicolaescu # Date 1271355840 25200 # Node ID 93782019c88c9ab8aa1060b524ff87c856c7d517 # Parent 34e533ec15e0e0bdefb7596a0f80dd60e06afafa * xdisp.c (message): Do not use NO_ARG_ARRAY. diff -r 34e533ec15e0 -r 93782019c88c src/ChangeLog --- 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 + * 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 diff -r 34e533ec15e0 -r 93782019c88c src/xdisp.c --- 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); }