From a09f8377ec401fe2b70aaeb5ada8b55df128ef97 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 8 Oct 2005 16:54:43 +0000 Subject: [PATCH] use for instead of while for infinite loop (the latter provokes a warning from DEC cc) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/http.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/common/http.cpp b/src/common/http.cpp index fcab146c82..600cef4d47 100644 --- a/src/common/http.cpp +++ b/src/common/http.cpp @@ -142,13 +142,7 @@ bool wxHTTP::ParseHeaders() ClearHeaders(); m_read = true; -#if defined(__VISAGECPP__) -// VA just can't stand while(1) - bool bOs2var = true; - while(bOs2var) -#else - while (1) -#endif + for ( ;; ) { m_perr = ReadLine(this, line); if (m_perr != wxPROTO_NOERR) -- 2.45.2