[sr-dev] git:master:f885de1a: xhttp_pi: removed unused static constants

Daniel-Constantin Mierla miconda at gmail.com
Thu Jun 22 22:11:53 CEST 2017


Module: kamailio
Branch: master
Commit: f885de1abcfe6ed2e981527dbbfd82f71e189be5
URL: https://github.com/kamailio/kamailio/commit/f885de1abcfe6ed2e981527dbbfd82f71e189be5

Author: Corey Farrell <git at cfware.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2017-06-22T22:08:52+02:00

xhttp_pi: removed unused static constants

---

Modified: src/modules/xhttp_pi/xhttp_pi_fnc.c

---

Diff:  https://github.com/kamailio/kamailio/commit/f885de1abcfe6ed2e981527dbbfd82f71e189be5.diff
Patch: https://github.com/kamailio/kamailio/commit/f885de1abcfe6ed2e981527dbbfd82f71e189be5.patch

---

diff --git a/src/modules/xhttp_pi/xhttp_pi_fnc.c b/src/modules/xhttp_pi/xhttp_pi_fnc.c
index e87beef406..1a26b6dba3 100644
--- a/src/modules/xhttp_pi/xhttp_pi_fnc.c
+++ b/src/modules/xhttp_pi/xhttp_pi_fnc.c
@@ -345,18 +345,11 @@ static const str XHTTP_PI_Response_Menu_Cmd_Table_2 = str_init("</tbody></table>
 
 static const str XHTTP_PI_NBSP = str_init(" ");
 static const str XHTTP_PI_SLASH = str_init("/");
-static const str XHTTP_PI_SEMICOLON = str_init(" : ");
 static const str XHTTP_PI_SQUOT_GT = str_init("'>");
 
-static const str XHTTP_PI_NODE_INDENT = str_init("\t");
-static const str XHTTP_PI_NODE_SEPARATOR = str_init(":: ");
 static const str XHTTP_PI_ATTR_SEPARATOR = str_init(" ");
 static const str XHTTP_PI_ATTR_VAL_SEPARATOR = str_init("=");
 
-static const str XHTTP_PI_BREAK = str_init("<br/>");
-static const str XHTTP_PI_CODE_1 = str_init("<pre>");
-static const str XHTTP_PI_CODE_2 = str_init("</pre>");
-
 static const str XHTTP_PI_Post_Form_1 = str_init("\n"\
 "		<form name=\"input\" method=\"get\">\n"
 "			<input type=hidden name=cmd value=\"on\">\n");




More information about the sr-dev mailing list