diff options
| author | Michal Nazarewicz | 2016-08-02 19:41:00 +0200 |
|---|---|---|
| committer | Michal Nazarewicz | 2016-08-02 19:52:50 +0200 |
| commit | edd5dd80c83a11a6fc79c6e16622dea69ebecee5 (patch) | |
| tree | e3e6f68426c8df662c73a1e6b559a646b44aeae6 /src | |
| parent | d0838f201a87982ebee5d85b0a369e03f2598ab5 (diff) | |
| download | emacs-edd5dd80c83a11a6fc79c6e16622dea69ebecee5.tar.gz 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')
| -rw-r--r-- | src/regex.c | 2 |
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) | |||
| 513 | 513 | ||
| 514 | #define BYTEWIDTH 8 /* In bits. */ | 514 | #define BYTEWIDTH 8 /* In bits. */ |
| 515 | 515 | ||
| 516 | #define STREQ(s1, s2) ((strcmp (s1, s2) == 0)) | ||
| 517 | |||
| 518 | #ifndef emacs | 516 | #ifndef emacs |
| 519 | # undef max | 517 | # undef max |
| 520 | # undef min | 518 | # undef min |