diff options
| author | msheby <msheby@cinecert.com> | 2009-04-15 19:53:07 +0000 |
|---|---|---|
| committer | msheby <> | 2009-04-15 19:53:07 +0000 |
| commit | d28ab84e2422180474aa3e80cc98097dca25aca0 (patch) | |
| tree | ce600ae8c2359a834f492efda48406347aa4d39b /src/KM_fileio.cpp | |
| parent | 6829283f4dcc9a55af166a9176b790a667db06c5 (diff) | |
Explicitly set the DirScanner handle to NULL (-1 for Windows) on instantiation.
Diffstat (limited to 'src/KM_fileio.cpp')
| -rw-r--r-- | src/KM_fileio.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/KM_fileio.cpp b/src/KM_fileio.cpp index b2b0465..d00031c 100644 --- a/src/KM_fileio.cpp +++ b/src/KM_fileio.cpp @@ -1190,6 +1190,9 @@ Kumu::WriteBufferIntoFile(const Kumu::ByteString& Buffer, const std::string& Fil #ifdef KM_WIN32 // +Kumu::DirScanner::DirScanner(void) : m_Handle(-1) {} + +// // Result_t Kumu::DirScanner::Open(const char* filename) @@ -1275,6 +1278,9 @@ Kumu::DirScanner::GetNext(char* filename) // POSIX directory scanner // +Kumu::DirScanner::DirScanner(void) : m_Handle(NULL) {} + +// Result_t Kumu::DirScanner::Open(const char* filename) { |
