changeset 51235:2710810008b2

(unexec): Remove `unused var n' warning.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sun, 25 May 2003 17:45:27 +0000
parents 4458f91cfb2b
children 29a68043c861
files src/unexelf.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/unexelf.c	Sun May 25 17:44:14 2003 +0000
+++ b/src/unexelf.c	Sun May 25 17:45:27 2003 +0000
@@ -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 @@
 
       /* 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)
 	{