Skip to content

Commit 1e99643

Browse files
bnoordhuisevanlucas
authored andcommittedMay 17, 2016
src: remove unused #include statement
strcasecmp() is not used in src/node_http_parser.cc so there is no need to include its header file. PR-URL: #6582 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Fedor Indutny <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 62593bd commit 1e99643

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed
 

‎src/node_http_parser.cc

-6
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,6 @@
1515
#include <stdlib.h> // free()
1616
#include <string.h> // strdup()
1717

18-
#if defined(_MSC_VER)
19-
#define strcasecmp _stricmp
20-
#else
21-
#include <strings.h> // strcasecmp()
22-
#endif
23-
2418
// This is a binding to http_parser (https://github.com/joyent/http-parser)
2519
// The goal is to decouple sockets from parsing for more javascript-level
2620
// agility. A Buffer is read from a socket and passed to parser.execute().

0 commit comments

Comments
 (0)
Please sign in to comment.