Skip to content

Commit 9c31c73

Browse files
bnoordhuisMyles Borins
authored and
Myles Borins
committedJul 14, 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 75e4f74 commit 9c31c73

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
@@ -16,12 +16,6 @@
1616
#include <stdlib.h> // free()
1717
#include <string.h> // strdup()
1818

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

0 commit comments

Comments
 (0)
Please sign in to comment.