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
This commit is contained in:
Vadim Zeitlin 2005-10-08 16:54:43 +00:00
parent a1aa0349f8
commit a09f8377ec

View File

@ -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)