From edd5dd80c83a11a6fc79c6e16622dea69ebecee5 Mon Sep 17 00:00:00 2001 From: Michal Nazarewicz Date: Tue, 2 Aug 2016 19:41:00 +0200 Subject: [PATCH] Remove unused STREQ macro This fixes the following compilation warning: regex.c:516:0: warning: macro "STREQ" is not used [-Wunused-macros] #define STREQ(s1, s2) ((strcmp (s1, s2) == 0)) ^ * src/regex.c (STREQ): Remove unused macro. It should have been removed in a [4538a5e: Refactor regex character class parsing in [:name:]] commit but was mistakenly left out. --- src/regex.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/regex.c b/src/regex.c index 8dafb118058..f7ca51184b3 100644 --- a/src/regex.c +++ b/src/regex.c @@ -513,8 +513,6 @@ init_syntax_once (void) #define BYTEWIDTH 8 /* In bits. */ -#define STREQ(s1, s2) ((strcmp (s1, s2) == 0)) - #ifndef emacs # undef max # undef min -- 2.39.2