diff options
author | Mark Spruiell <mes@zeroc.com> | 2004-10-07 21:57:21 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2004-10-07 21:57:21 +0000 |
commit | afed9feb0b6bae705b2c8d0edc283bbc57e8c1a5 (patch) | |
tree | 126ddc91378b93e0cef6b970c235e1bd620e8608 /py/modules/IcePy/Current.cpp | |
parent | minimal dependencies (diff) | |
download | ice-afed9feb0b6bae705b2c8d0edc283bbc57e8c1a5.tar.bz2 ice-afed9feb0b6bae705b2c8d0edc283bbc57e8c1a5.tar.xz ice-afed9feb0b6bae705b2c8d0edc283bbc57e8c1a5.zip |
fixing warnings when compiling with optimization
Diffstat (limited to 'py/modules/IcePy/Current.cpp')
-rw-r--r-- | py/modules/IcePy/Current.cpp | 2 |
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: |