Permalink
Browse files

Merge pull request #297 from mluts/fix-ragel-parser

Don't need "int cs" variable here
  • Loading branch information...
macournoyer committed Feb 3, 2016
2 parents a5b0df5 + 2bd1446 commit d0aef2e80216701b48b908dc14befe3600a44346
Showing with 0 additions and 10 deletions.
  1. +0 −5 ext/thin_parser/parser.c
  2. +0 −5 ext/thin_parser/parser.rl
@@ -1437,11 +1437,6 @@ int thin_http_parser_is_finished(http_parser *parser) {

int thin_http_parser_finish(http_parser *parser)
{
int cs = parser->cs;


parser->cs = cs;

if (thin_http_parser_has_error(parser) ) {
return -1;
} else if (thin_http_parser_is_finished(parser) ) {
@@ -142,11 +142,6 @@ int thin_http_parser_is_finished(http_parser *parser) {

int thin_http_parser_finish(http_parser *parser)
{
int cs = parser->cs;


parser->cs = cs;

if (thin_http_parser_has_error(parser) ) {
return -1;
} else if (thin_http_parser_is_finished(parser) ) {

0 comments on commit d0aef2e

Please sign in to comment.