UIMA-6172 remove more warnings
diff --git a/scriptators/python/pythonnator.cpp b/scriptators/python/pythonnator.cpp
index 3da1a40..3dd0bf9 100644
--- a/scriptators/python/pythonnator.cpp
+++ b/scriptators/python/pythonnator.cpp
@@ -83,7 +83,8 @@
   // and contained in the type system are evaluated.
 
   TyErrorId initialize(AnnotatorContext &ac) {
-    PyObject *main_module, *user_module;
+	//    PyObject *main_module, *user_module;
+    PyObject *user_module;
     PyObject *dict;
     swig_type_info *ac_type;
 #ifdef PATH_MAX
@@ -158,7 +159,7 @@
       PyEval_ReleaseLock();
 
       _PY_BEGIN_BLOCK_THREADS_
-      main_module = PyImport_AddModule("__main__");
+		//      main_module = PyImport_AddModule("__main__");
       if (PyImport_ImportModule("pythonnator") == 0) { 
         cerr << MODULENAME ":" << fn <<  ": failed to import pythonnator module, PYTHONPATH problem? " <<endl;
         _PY_END_BLOCK_THREADS_
diff --git a/src/utils/deployCppService.hpp b/src/utils/deployCppService.hpp
index 8782cc9..0e8ab63 100644
--- a/src/utils/deployCppService.hpp
+++ b/src/utils/deployCppService.hpp
@@ -54,8 +54,8 @@
 #define EXC_PAYLOAD         1003
 #define NO_PAYLOAD          1005
 
-static char * getmeta_selector = "Command = 2001";
-static char * annotator_selector = "Command = 2000 or Command = 2002";
+static const char * getmeta_selector = "Command = 2001";
+static const char * annotator_selector = "Command = 2000 or Command = 2002";
 
 static int initialize(ServiceParameters &, apr_pool_t*);
 static void* APR_THREAD_FUNC handleCommands(apr_thread_t *thd, void *data);