]> diplodocus.org Git - nmh/commitdiff
dtimep.l: Delete unused macros SKIPSP and SKIPTOSP.
authorRalph Corderoy <ralph@inputplus.co.uk>
Tue, 31 Oct 2017 21:37:24 +0000 (21:37 +0000)
committerRalph Corderoy <ralph@inputplus.co.uk>
Tue, 31 Oct 2017 21:37:24 +0000 (21:37 +0000)
Silences gcc's warnings.

sbr/dtimep.l

index bd36c64aaf7b459d373f579811a0090cbf67d5cf..fdae74ccb44bc18523aaf60348c27302213c82cd 100644 (file)
@@ -156,10 +156,6 @@ static int day_map[] = {
                        --cp; }
 #define SKIPTOA()    { while ( !isalpha((unsigned char) *cp++) ) ; \
                        --cp; }
                        --cp; }
 #define SKIPTOA()    { while ( !isalpha((unsigned char) *cp++) ) ; \
                        --cp; }
-#define SKIPSP()     { while ( isspace((unsigned char) *cp++) ) ; \
-                       --cp; }
-#define SKIPTOSP()   { while ( !isspace((unsigned char) *cp++) ) ; \
-                       --cp; }
 
 # ifdef HAVE_SYS_TIME_H
 #  include <sys/time.h>
 
 # ifdef HAVE_SYS_TIME_H
 #  include <sys/time.h>