changeset 34745:df58e8203c13

(echo_prompt): Prevent a compiler warning.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 20 Dec 2000 15:13:36 +0000
parents 5f14759be2d0
children 10539ef3d8e8
files src/keyboard.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Wed Dec 20 14:25:09 2000 +0000
+++ b/src/keyboard.c	Wed Dec 20 15:13:36 2000 +0000
@@ -699,7 +699,7 @@
     {
       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)