diff options
author | Jose <jose@zeroc.com> | 2011-01-31 16:05:17 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2011-01-31 16:05:17 +0100 |
commit | bb9dacfad0eed3dc8d6382bc7e41ed9ac8ac5500 (patch) | |
tree | 9e373b6c979323e4017bd42febf7d09120b83c25 /cpp/src | |
parent | 4893 - NullHandleException in Glacier2::Application (diff) | |
download | ice-bb9dacfad0eed3dc8d6382bc7e41ed9ac8ac5500.tar.bz2 ice-bb9dacfad0eed3dc8d6382bc7e41ed9ac8ac5500.tar.xz ice-bb9dacfad0eed3dc8d6382bc7e41ed9ac8ac5500.zip |
4975 - Uninitialized _fd on FileUtil.cpp
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/IceUtil/FileUtil.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/src/IceUtil/FileUtil.cpp b/cpp/src/IceUtil/FileUtil.cpp index 5dbb88d20df..2e0e5ff3102 100644 --- a/cpp/src/IceUtil/FileUtil.cpp +++ b/cpp/src/IceUtil/FileUtil.cpp @@ -251,6 +251,9 @@ toFileFlags(ios_base::openmode mode) #endif IceUtilInternal::ifstream::ifstream() +#ifdef _STLP_BEGIN_NAMESPACE + : _fd(-1) +#endif { } @@ -309,6 +312,9 @@ IceUtilInternal::ifstream::open(const string& path, ios_base::openmode mode) #endif IceUtilInternal::ofstream::ofstream() +#ifdef _STLP_BEGIN_NAMESPACE + : _fd(-1) +#endif { } |