[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master edd5dd8 1/2: Remove unused STREQ macro
From: |
Michal Nazarewicz |
Subject: |
[Emacs-diffs] master edd5dd8 1/2: Remove unused STREQ macro |
Date: |
Tue, 2 Aug 2016 17:54:22 +0000 (UTC) |
branch: master
commit edd5dd80c83a11a6fc79c6e16622dea69ebecee5
Author: Michal Nazarewicz <address@hidden>
Commit: Michal Nazarewicz <address@hidden>
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 8dafb11..f7ca511 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