From 61324a18b98d1fe0ca50d52f6b6019299a64794d Mon Sep 17 00:00:00 2001
From: Anthony Foster <anthony@lindenlab.com>
Date: Tue, 5 Jun 2007 22:41:07 +0000
Subject: [PATCH] Removing a bug that addressed a coverity defect.  This change
 is done in maintenance, r-c, and release. Maintenance r63092 Reviewed by
 Richard.

---
 indra/win_updater/updater.cpp | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/indra/win_updater/updater.cpp b/indra/win_updater/updater.cpp
index 92e2cb066a9..c5207f00828 100644
--- a/indra/win_updater/updater.cpp
+++ b/indra/win_updater/updater.cpp
@@ -147,16 +147,6 @@ int WINAPI get_url_into_file(WCHAR *uri, char *path, int *cancelled)
 			fflush(logfile);
 		}
 #endif
-
-		if (!data[0])
-		{
-#if _DEBUG
-			fprintf(logfile,"InternetReadFile Returned NULL data, bytes_read = %d.\n",bytes_read);
-			fflush(logfile);
-#endif
-		// ...an error occurred
-			return FALSE;
-		}
 		
 #if _DEBUG
 		fprintf(logfile,"Reading Data, bytes_read = %d\n",bytes_read);
-- 
GitLab