aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStefan Monnier <[email protected]>2003-05-25 17:45:27 +0000
committerStefan Monnier <[email protected]>2003-05-25 17:45:27 +0000
commit1e7b70b253f43881e3d35523d8aecef794ec2b41 (patch)
treeb6bcf1d7d7f361aec6d7bfd08a46af6e3a8c2169 /src
parent880c108d40a7a1968fd285bfbd8577f5a193f672 (diff)
(unexec): Remove `unused var n' warning.
Diffstat (limited to 'src')
-rw-r--r--src/unexelf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/unexelf.c b/src/unexelf.c
index 7f8ea12b39..b3075f08b2 100644
--- a/src/unexelf.c
+++ b/src/unexelf.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1985, 1986, 1987, 1988, 1990, 1992, 1999, 2000, 2001
+/* Copyright (C) 1985,86,87,88,90,92,1999,2000,01,2003
Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -1201,6 +1201,7 @@ unexec (new_name, old_name, data_start, bss_start, entry_address)
/* Cause a compilation error if anyone uses n instead of nn below. */
struct {int a;} n;
+ (void)n.a; /* Prevent `unused variable' warnings. */
switch (section.sh_type)
{