aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKarl Heuer1999-06-17 22:52:23 +0000
committerKarl Heuer1999-06-17 22:52:23 +0000
commit9660863d1ef35c5127f2c8fef84352315c5abfda (patch)
tree9eb607d15f4018c591157f92448ac6619374af39 /src
parent935f6bf5a18b0f3dc9182fba1a318e0d04d02fe0 (diff)
downloademacs-9660863d1ef35c5127f2c8fef84352315c5abfda.tar.gz
emacs-9660863d1ef35c5127f2c8fef84352315c5abfda.zip
(send_process): Delete unsafe/redundant assignment.
Diffstat (limited to 'src')
-rw-r--r--src/process.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/process.c b/src/process.c
index e210cd4aa2a..e08367e0222 100644
--- a/src/process.c
+++ b/src/process.c
@@ -3212,11 +3212,11 @@ send_process (proc, buf, len, object)
3212 3212
3213 /* Remember the offset of data because a string or a buffer may 3213 /* Remember the offset of data because a string or a buffer may
3214 be relocated. Setting OFFSET to -1 means we don't have to 3214 be relocated. Setting OFFSET to -1 means we don't have to
3215 care relocation. */ 3215 care about relocation. */
3216 offset = (BUFFERP (object) 3216 offset = (BUFFERP (object)
3217 ? BUF_PTR_BYTE_POS (XBUFFER (object), buf) 3217 ? BUF_PTR_BYTE_POS (XBUFFER (object), buf)
3218 : (STRINGP (object) 3218 : (STRINGP (object)
3219 ? offset = buf - XSTRING (object)->data 3219 ? buf - XSTRING (object)->data
3220 : -1)); 3220 : -1));
3221 3221
3222 if (carryover > 0) 3222 if (carryover > 0)
@@ -3229,7 +3229,7 @@ send_process (proc, buf, len, object)
3229 buf = BUF_BYTE_ADDRESS (XBUFFER (object), offset); 3229 buf = BUF_BYTE_ADDRESS (XBUFFER (object), offset);
3230 else if (STRINGP (object)) 3230 else if (STRINGP (object))
3231 buf = offset + XSTRING (object)->data; 3231 buf = offset + XSTRING (object)->data;
3232 /* Now we don't have to care relocation. */ 3232 /* Now we don't have to care about relocation. */
3233 offset = -1; 3233 offset = -1;
3234 } 3234 }
3235 bcopy ((XSTRING (XPROCESS (proc)->encoding_buf)->data 3235 bcopy ((XSTRING (XPROCESS (proc)->encoding_buf)->data