summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Peters <fpeters@entrouvert.com>2007-07-10 14:24:14 +0000
committerFrederic Peters <fpeters@entrouvert.com>2007-07-10 14:24:14 +0000
commitd2930c3a73f5fbabb5cef2389952f00d6cc3ba94 (patch)
tree6fbc32f5e082fe37234c069f1de60eebd7d68f6e
parent6204c8be9c8b2d9d12c8df33017f091004b9f186 (diff)
initialize global variables
-rw-r--r--swig/Lasso.i4
1 files changed, 2 insertions, 2 deletions
diff --git a/swig/Lasso.i b/swig/Lasso.i
index 82e6f900..48747ef5 100644
--- a/swig/Lasso.i
+++ b/swig/Lasso.i
@@ -237,8 +237,8 @@ static void throw_exception_msg(int errorCode) {
%{
-PyObject *lassoError;
-PyObject *lassoWarning;
+PyObject *lassoError = NULL;
+PyObject *lassoWarning = NULL;
static void lasso_exception(int errorCode) {
char errorMsg[256];