浏览代码

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;
 }