changeset 24867:4daf369d28c0

(send_process): Delete unsafe/redundant assignment.
author Karl Heuer <kwzh@gnu.org>
date Thu, 17 Jun 1999 22:52:23 +0000
parents 84d705e026b4
children de2065294ca3
files src/process.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/process.c	Thu Jun 17 12:12:47 1999 +0000
+++ b/src/process.c	Thu Jun 17 22:52:23 1999 +0000
@@ -3212,11 +3212,11 @@
 
       /* Remember the offset of data because a string or a buffer may
          be relocated.  Setting OFFSET to -1 means we don't have to
-         care relocation.  */
+         care about relocation.  */
       offset = (BUFFERP (object)
 		? BUF_PTR_BYTE_POS (XBUFFER (object), buf)
 		: (STRINGP (object)
-		   ? offset = buf - XSTRING (object)->data
+		   ? buf - XSTRING (object)->data
 		   : -1));
 
       if (carryover > 0)
@@ -3229,7 +3229,7 @@
 		buf = BUF_BYTE_ADDRESS (XBUFFER (object), offset);
 	      else if (STRINGP (object))
 		buf = offset + XSTRING (object)->data;
-	      /* Now we don't have to care relocation.  */
+	      /* Now we don't have to care about relocation.  */
 	      offset = -1;
 	    }
 	  bcopy ((XSTRING (XPROCESS (proc)->encoding_buf)->data