Module: kamailio
Branch: master
Commit: 13545fb140b633b14f7a3f0a0fb5c1c55449dbd7
URL:
https://github.com/kamailio/kamailio/commit/13545fb140b633b14f7a3f0a0fb5c1c…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-07-29T09:47:22+02:00
app_sqlang: disabled unused static function
---
Modified: src/modules/app_sqlang/app_sqlang_api.c
---
Diff:
https://github.com/kamailio/kamailio/commit/13545fb140b633b14f7a3f0a0fb5c1c…
Patch:
https://github.com/kamailio/kamailio/commit/13545fb140b633b14f7a3f0a0fb5c1c…
---
diff --git a/src/modules/app_sqlang/app_sqlang_api.c
b/src/modules/app_sqlang/app_sqlang_api.c
index c27693997c..22d2ce6ff3 100644
--- a/src/modules/app_sqlang/app_sqlang_api.c
+++ b/src/modules/app_sqlang/app_sqlang_api.c
@@ -211,6 +211,7 @@ static void sqlang_pushlstring(HSQUIRRELVM J, char *s, int l)
sq_pushstring(J, (const SQChar*)s, (SQInteger)l);
}
+#if 0
static int sqlang_isnumber(HSQUIRRELVM J, int idx)
{
if(idx>=0) {
@@ -221,6 +222,7 @@ static int sqlang_isnumber(HSQUIRRELVM J, int idx)
return 1;
return 0;
}
+#endif
static int sqlang_isstring(HSQUIRRELVM J, int idx)
{