summaryrefslogtreecommitdiff
path: root/py/modules/IcePy/Current.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'py/modules/IcePy/Current.cpp')
-rw-r--r--py/modules/IcePy/Current.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/modules/IcePy/Current.cpp b/py/modules/IcePy/Current.cpp
index 0432e4e2215..b9c5e5c758c 100644
--- a/py/modules/IcePy/Current.cpp
+++ b/py/modules/IcePy/Current.cpp
@@ -176,7 +176,7 @@ currentGetter(CurrentObject* self, void* closure)
{
PyObject* type = lookupType("Ice.OperationMode");
assert(type != NULL);
- char* enumerator;
+ char* enumerator = 0;
switch(self->current->mode)
{
case Ice::Normal: