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:
parent
a1aa0349f8
commit
a09f8377ec
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user