[sr-dev] git:master:13545fb1: app_sqlang: disabled unused static function
Daniel-Constantin Mierla
miconda at gmail.com
Mon Jul 29 09:47:50 CEST 2019
Module: kamailio
Branch: master
Commit: 13545fb140b633b14f7a3f0a0fb5c1c55449dbd7
URL: https://github.com/kamailio/kamailio/commit/13545fb140b633b14f7a3f0a0fb5c1c55449dbd7
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at 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/13545fb140b633b14f7a3f0a0fb5c1c55449dbd7.diff
Patch: https://github.com/kamailio/kamailio/commit/13545fb140b633b14f7a3f0a0fb5c1c55449dbd7.patch
---
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)
{
More information about the sr-dev
mailing list