diff options
| author | Paul Eggert | 2011-03-29 17:19:27 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-03-29 17:19:27 -0700 |
| commit | de6dbc14a72347f3f2a3b4f0bf3c39d6f69a425e (patch) | |
| tree | 57a8a96bf132b6a33fb874437cac05308d378f75 | |
| parent | f838ed7b0ac1f7715f49b1e5d7de9b75b4159b64 (diff) | |
| download | emacs-de6dbc14a72347f3f2a3b4f0bf3c39d6f69a425e.tar.gz emacs-de6dbc14a72347f3f2a3b4f0bf3c39d6f69a425e.zip | |
* unexelf.c (unexec) [! (defined _SYSTYPE_SYSV || defined __sgi)]:
Remove unused local var.
| -rw-r--r-- | src/ChangeLog | 3 | ||||
| -rw-r--r-- | src/unexelf.c | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 2f88aa5ad07..c44444a9244 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2011-03-30 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-03-30 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * unexelf.c (unexec) [! (defined _SYSTYPE_SYSV || defined __sgi)]: | ||
| 4 | Remove unused local var. | ||
| 5 | |||
| 3 | * editfns.c (Fmessage_box): Remove unused local var. | 6 | * editfns.c (Fmessage_box): Remove unused local var. |
| 4 | 7 | ||
| 5 | 2011-03-29 Paul Eggert <eggert@cs.ucla.edu> | 8 | 2011-03-29 Paul Eggert <eggert@cs.ucla.edu> |
diff --git a/src/unexelf.c b/src/unexelf.c index b58c78501b8..8b45894f853 100644 --- a/src/unexelf.c +++ b/src/unexelf.c | |||
| @@ -651,7 +651,9 @@ unexec (const char *new_name, const char *old_name) | |||
| 651 | int n, nn; | 651 | int n, nn; |
| 652 | int old_bss_index, old_sbss_index, old_plt_index; | 652 | int old_bss_index, old_sbss_index, old_plt_index; |
| 653 | int old_data_index, new_data2_index; | 653 | int old_data_index, new_data2_index; |
| 654 | #if defined _SYSTYPE_SYSV || defined __sgi | ||
| 654 | int old_mdebug_index; | 655 | int old_mdebug_index; |
| 656 | #endif | ||
| 655 | struct stat stat_buf; | 657 | struct stat stat_buf; |
| 656 | int old_file_size; | 658 | int old_file_size; |
| 657 | 659 | ||
| @@ -695,8 +697,10 @@ unexec (const char *new_name, const char *old_name) | |||
| 695 | 697 | ||
| 696 | /* Find the mdebug section, if any. */ | 698 | /* Find the mdebug section, if any. */ |
| 697 | 699 | ||
| 700 | #if defined _SYSTYPE_SYSV || defined __sgi | ||
| 698 | old_mdebug_index = find_section (".mdebug", old_section_names, | 701 | old_mdebug_index = find_section (".mdebug", old_section_names, |
| 699 | old_name, old_file_h, old_section_h, 1); | 702 | old_name, old_file_h, old_section_h, 1); |
| 703 | #endif | ||
| 700 | 704 | ||
| 701 | /* Find the old .bss section. Figure out parameters of the new | 705 | /* Find the old .bss section. Figure out parameters of the new |
| 702 | data2 and bss sections. */ | 706 | data2 and bss sections. */ |