diff options
| author | Stefan Monnier | 2003-05-25 17:45:27 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2003-05-25 17:45:27 +0000 |
| commit | 1e7b70b253f43881e3d35523d8aecef794ec2b41 (patch) | |
| tree | b6bcf1d7d7f361aec6d7bfd08a46af6e3a8c2169 /src | |
| parent | 880c108d40a7a1968fd285bfbd8577f5a193f672 (diff) | |
| download | emacs-1e7b70b253f43881e3d35523d8aecef794ec2b41.tar.gz emacs-1e7b70b253f43881e3d35523d8aecef794ec2b41.zip | |
(unexec): Remove `unused var n' warning.
Diffstat (limited to 'src')
| -rw-r--r-- | src/unexelf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/unexelf.c b/src/unexelf.c index 7f8ea12b390..b3075f08b2f 100644 --- a/src/unexelf.c +++ b/src/unexelf.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* Copyright (C) 1985, 1986, 1987, 1988, 1990, 1992, 1999, 2000, 2001 | 1 | /* Copyright (C) 1985,86,87,88,90,92,1999,2000,01,2003 |
| 2 | Free Software Foundation, Inc. | 2 | Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| @@ -1201,6 +1201,7 @@ unexec (new_name, old_name, data_start, bss_start, entry_address) | |||
| 1201 | 1201 | ||
| 1202 | /* Cause a compilation error if anyone uses n instead of nn below. */ | 1202 | /* Cause a compilation error if anyone uses n instead of nn below. */ |
| 1203 | struct {int a;} n; | 1203 | struct {int a;} n; |
| 1204 | (void)n.a; /* Prevent `unused variable' warnings. */ | ||
| 1204 | 1205 | ||
| 1205 | switch (section.sh_type) | 1206 | switch (section.sh_type) |
| 1206 | { | 1207 | { |