소스 검색

Merge pull request #13536 from ghalliday/issue23751

HPCC-23751 Fix windows compile issue

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 5 년 전
부모
커밋
e3b548fde1
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      system/jlib/jfile.cpp

+ 3 - 1
system/jlib/jfile.cpp

@@ -1217,6 +1217,8 @@ static CriticalSection connectcrit;
 
 static bool connectToExternalDrive(const char * const filename)
 {
+#if 0
+    //The following code used the passowrdProvider.  Retained in case similar code is needed in the future.
     CriticalBlock block(connectcrit);
     if (!passwordProvider)
         return false;
@@ -1229,7 +1231,6 @@ static bool connectToExternalDrive(const char * const filename)
         return false;
 
     // first see if connected
-
     char buf[255];
     buf[0] = 0;
     DWORD len = sizeof(buf);
@@ -1264,6 +1265,7 @@ static bool connectToExternalDrive(const char * const filename)
             return true;
         Sleep(retry*100);
     }
+#endif
     return false;
 }