From: Gerd Moellmann Date: Wed, 20 Dec 2000 15:13:36 +0000 (+0000) Subject: (echo_prompt): Prevent a compiler warning. X-Git-Tag: emacs-pretest-21.0.95~379 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=102d8a221677b20dfefa0bd612b634ceb4ccd17b;p=emacs.git (echo_prompt): Prevent a compiler warning. --- 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)