From: Michal Nazarewicz Date: Tue, 2 Aug 2016 17:41:00 +0000 (+0200) Subject: Remove unused STREQ macro X-Git-Tag: emacs-26.0.90~1819 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=edd5dd80c83a11a6fc79c6e16622dea69ebecee5;p=emacs.git 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. --- 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