Changeset: d9967479b9ea for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=d9967479b9ea
Modified Files:
        monetdb5/mal/mal_parser.c
Branch: python3udf
Log Message:

Remove unused function.


diffs (22 lines):

diff --git a/monetdb5/mal/mal_parser.c b/monetdb5/mal/mal_parser.c
--- a/monetdb5/mal/mal_parser.c
+++ b/monetdb5/mal/mal_parser.c
@@ -953,18 +953,6 @@ static str parseModule(Client cntxt)
        return "";
 }
 
-#define pyapi_enableflag "embedded_py"
-// returns the currently enabled python version, if any
-// defaults to python 2 if none is enabled
-static int
-enabled_python_version(void) {
-    char* env = GDKgetenv(pyapi_enableflag);
-    if (env && strncmp(env, "3", 1) == 0) {
-        return 3;
-    }
-       return 2;
-}
-
 /*
  * Include statement
  * An include statement is immediately taken into effect. This
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to