From 102d8a221677b20dfefa0bd612b634ceb4ccd17b Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Wed, 20 Dec 2000 15:13:36 +0000 Subject: [PATCH] (echo_prompt): Prevent a compiler warning. --- src/keyboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/keyboard.c b/src/keyboard.c index 8fb0a1ec897..d8fc173e7d8 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -699,7 +699,7 @@ echo_prompt (str) { if (multibyte_p) { - unsigned char *p = XSTRING (str)->data, *lastp; + unsigned char *p = XSTRING (str)->data, *lastp = p; unsigned char *pend = p + ECHOBUFSIZE - 4; while (p < pend) -- 2.39.2