Commit 6bb24457 authored by Dan Nicolaescu's avatar Dan Nicolaescu

* xdisp.c (message): Do not use NO_ARG_ARRAY.

parent bc319ba4
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>
......
......@@ -8472,7 +8472,6 @@ message (m, a1, a2, a3)
if (m)
{
int len;
#ifdef NO_ARG_ARRAY
char *a[3];
a[0] = (char *) a1;
a[1] = (char *) a2;
......@@ -8480,11 +8479,6 @@ message (m, a1, a2, a3)
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);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment