From 1e7b70b253f43881e3d35523d8aecef794ec2b41 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Sun, 25 May 2003 17:45:27 +0000 Subject: [PATCH] (unexec): Remove `unused var n' warning. --- src/unexelf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 @@ -/* 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) { -- 2.39.2