diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2013-05-30 18:31:10 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2013-05-30 18:31:10 -0700 |
commit | 0e64479a3aa321a1a44e2057eebbf5c378b7ad5c (patch) | |
tree | dbb89943f78ed89b1c856faa125b7238cec87f5a /src/fileio.c | |
parent | 01dea85f7b9a064ceafefd6e2940566da0530fb4 (diff) | |
download | emacs-0e64479a3aa321a1a44e2057eebbf5c378b7ad5c.tar.gz emacs-0e64479a3aa321a1a44e2057eebbf5c378b7ad5c.tar.bz2 emacs-0e64479a3aa321a1a44e2057eebbf5c378b7ad5c.zip |
* fileio.c (Finsert_file_contents): Remove unused local.
Fixes: debbugs:8447
Diffstat (limited to 'src/fileio.c')
-rw-r--r-- | src/fileio.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/fileio.c b/src/fileio.c index e2b1007fb0b..75e1f13a09b 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -3489,7 +3489,6 @@ by calling `format-decode', which see. */) EMACS_TIME mtime; int fd; ptrdiff_t inserted = 0; - bool nochange = 0; ptrdiff_t how_much; off_t beg_offset, end_offset; int unprocessed; @@ -4060,9 +4059,7 @@ by calling `format-decode', which see. */) if (bufpos == inserted) { /* Truncate the buffer to the size of the file. */ - if (same_at_start == same_at_end) - nochange = 1; - else + if (same_at_start != same_at_end) del_range_byte (same_at_start, same_at_end, 0); inserted = 0; |