diff options
| author | Paul Eggert | 2022-04-08 17:00:20 -0700 |
|---|---|---|
| committer | Paul Eggert | 2022-04-08 17:33:16 -0700 |
| commit | 68bc1446855c86b96d5bc22f819e63358ab250ac (patch) | |
| tree | eef98760d333963f8d62109280ec59784aa02441 /src/process.c | |
| parent | d9bffa1f3b121085fd8f954eb9446a4a5241c062 (diff) | |
| download | emacs-68bc1446855c86b96d5bc22f819e63358ab250ac.tar.gz emacs-68bc1446855c86b96d5bc22f819e63358ab250ac.zip | |
Pacify clang -Wunused-variable
* src/coding.c (detect_coding_utf_8):
* src/process.c (Finternal_default_process_filter):
Remove unused local vars.
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/src/process.c b/src/process.c index d4a78521ab1..08a02ad9423 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -6239,7 +6239,6 @@ Otherwise it discards the output. */) | |||
| 6239 | { | 6239 | { |
| 6240 | Lisp_Object old_read_only; | 6240 | Lisp_Object old_read_only; |
| 6241 | ptrdiff_t old_begv, old_zv; | 6241 | ptrdiff_t old_begv, old_zv; |
| 6242 | ptrdiff_t old_begv_byte, old_zv_byte; | ||
| 6243 | ptrdiff_t before, before_byte; | 6242 | ptrdiff_t before, before_byte; |
| 6244 | ptrdiff_t opoint_byte; | 6243 | ptrdiff_t opoint_byte; |
| 6245 | struct buffer *b; | 6244 | struct buffer *b; |
| @@ -6250,8 +6249,6 @@ Otherwise it discards the output. */) | |||
| 6250 | old_read_only = BVAR (current_buffer, read_only); | 6249 | old_read_only = BVAR (current_buffer, read_only); |
| 6251 | old_begv = BEGV; | 6250 | old_begv = BEGV; |
| 6252 | old_zv = ZV; | 6251 | old_zv = ZV; |
| 6253 | old_begv_byte = BEGV_BYTE; | ||
| 6254 | old_zv_byte = ZV_BYTE; | ||
| 6255 | 6252 | ||
| 6256 | bset_read_only (current_buffer, Qnil); | 6253 | bset_read_only (current_buffer, Qnil); |
| 6257 | 6254 | ||
| @@ -6299,15 +6296,9 @@ Otherwise it discards the output. */) | |||
| 6299 | opoint_byte += PT_BYTE - before_byte; | 6296 | opoint_byte += PT_BYTE - before_byte; |
| 6300 | } | 6297 | } |
| 6301 | if (old_begv > before) | 6298 | if (old_begv > before) |
| 6302 | { | 6299 | old_begv += PT - before; |
| 6303 | old_begv += PT - before; | ||
| 6304 | old_begv_byte += PT_BYTE - before_byte; | ||
| 6305 | } | ||
| 6306 | if (old_zv >= before) | 6300 | if (old_zv >= before) |
| 6307 | { | 6301 | old_zv += PT - before; |
| 6308 | old_zv += PT - before; | ||
| 6309 | old_zv_byte += PT_BYTE - before_byte; | ||
| 6310 | } | ||
| 6311 | 6302 | ||
| 6312 | /* If the restriction isn't what it should be, set it. */ | 6303 | /* If the restriction isn't what it should be, set it. */ |
| 6313 | if (old_begv != BEGV || old_zv != ZV) | 6304 | if (old_begv != BEGV || old_zv != ZV) |