Module: kamailio
Branch: master
Commit: 1f46fbcdcbfbae80000d3abcf191424d98104f4e
URL:
https://github.com/kamailio/kamailio/commit/1f46fbcdcbfbae80000d3abcf191424…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-04-21T19:04:26+02:00
ipops: removed unused variables from ragel generated files
- GH #1074
---
Modified: src/modules/ipops/ip_parser.c
Modified: src/modules/ipops/rfc1918_parser.c
---
Diff:
https://github.com/kamailio/kamailio/commit/1f46fbcdcbfbae80000d3abcf191424…
Patch:
https://github.com/kamailio/kamailio/commit/1f46fbcdcbfbae80000d3abcf191424…
---
diff --git a/src/modules/ipops/ip_parser.c b/src/modules/ipops/ip_parser.c
index b9e0a1c..25aea17 100644
--- a/src/modules/ipops/ip_parser.c
+++ b/src/modules/ipops/ip_parser.c
@@ -1,7 +1,3 @@
-/*
- * Warning: This file is auto generated from a ragel syntax (ip_parser.rl),
- * do not change it!
- */
#line 1 "ip_parser.rl"
#include "ip_parser.h"
@@ -16,11 +12,6 @@
#line 14 "ip_parser.c"
static const int ip_parser_start = 1;
-static const int ip_parser_first_final = 237;
-static const int ip_parser_error = 0;
-
-static const int ip_parser_en_main = 1;
-
#line 45 "ip_parser.rl"
diff --git a/src/modules/ipops/rfc1918_parser.c b/src/modules/ipops/rfc1918_parser.c
index f39fff0..5542794 100644
--- a/src/modules/ipops/rfc1918_parser.c
+++ b/src/modules/ipops/rfc1918_parser.c
@@ -13,11 +13,6 @@
#line 15 "rfc1918_parser.c"
static const int rfc1918_parser_start = 1;
-static const int rfc1918_parser_first_final = 28;
-static const int rfc1918_parser_error = 0;
-
-static const int rfc1918_parser_en_main = 1;
-
#line 26 "rfc1918_parser.rl"