From 00a2cef7d11a1b193891eb3d28274ef7fc7c3fe4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pavel=20Jan=C3=ADk?= Date: Fri, 2 Nov 2001 20:14:02 +0000 Subject: [PATCH] (CHECK_FRAME, CHECK_LIVE_FRAME): Remove unused argument `i' in macros. --- src/frame.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frame.h b/src/frame.h index 633199809e9..f58529d1ee0 100644 --- a/src/frame.h +++ b/src/frame.h @@ -614,13 +614,13 @@ typedef struct frame *FRAME_PTR; (f)->visible = (f)->async_visible, \ (f)->iconified = (f)->async_iconified) -#define CHECK_FRAME(x, i) \ +#define CHECK_FRAME(x) \ do { \ if (! FRAMEP (x)) \ x = wrong_type_argument (Qframep, (x)); \ } while (0) -#define CHECK_LIVE_FRAME(x, i) \ +#define CHECK_LIVE_FRAME(x) \ do { \ if (! FRAMEP (x) \ || ! FRAME_LIVE_P (XFRAME (x))) \ -- 2.39.2