소스 검색

Remove unused function getWin32Handle

Nils Maier 11 년 전
부모
커밋
a0f275a9f1
1개의 변경된 파일0개의 추가작업 그리고 9개의 파일을 삭제
  1. 0 9
      src/AbstractDiskWriter.cc

+ 0 - 9
src/AbstractDiskWriter.cc

@@ -229,15 +229,6 @@ int openFileWithFlags(const std::string& filename, int flags,
 #endif // !__MINGW32__
 } // namespace
 
-#ifdef __MINGW32__
-namespace {
-HANDLE getWin32Handle(int fd)
-{
-  return reinterpret_cast<HANDLE>(_get_osfhandle(fd));
-}
-} // namespace
-#endif // __MINGW32__
-
 void AbstractDiskWriter::openExistingFile(int64_t totalLength)
 {
   int flags = O_BINARY;