summaryrefslogtreecommitdiff
path: root/src/regex.c
diff options
context:
space:
mode:
authorMichal Nazarewicz <mina86@mina86.com>2016-08-02 19:41:00 +0200
committerMichal Nazarewicz <mina86@mina86.com>2016-08-02 19:52:50 +0200
commitedd5dd80c83a11a6fc79c6e16622dea69ebecee5 (patch)
treee3e6f68426c8df662c73a1e6b559a646b44aeae6 /src/regex.c
parentd0838f201a87982ebee5d85b0a369e03f2598ab5 (diff)
downloademacs-edd5dd80c83a11a6fc79c6e16622dea69ebecee5.tar.gz
emacs-edd5dd80c83a11a6fc79c6e16622dea69ebecee5.tar.bz2
emacs-edd5dd80c83a11a6fc79c6e16622dea69ebecee5.zip
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.
Diffstat (limited to 'src/regex.c')
-rw-r--r--src/regex.c2
1 files changed, 0 insertions, 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