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:
@@ -142,13 +142,7 @@ bool wxHTTP::ParseHeaders()
|
|||||||
ClearHeaders();
|
ClearHeaders();
|
||||||
m_read = true;
|
m_read = true;
|
||||||
|
|
||||||
#if defined(__VISAGECPP__)
|
for ( ;; )
|
||||||
// VA just can't stand while(1)
|
|
||||||
bool bOs2var = true;
|
|
||||||
while(bOs2var)
|
|
||||||
#else
|
|
||||||
while (1)
|
|
||||||
#endif
|
|
||||||
{
|
{
|
||||||
m_perr = ReadLine(this, line);
|
m_perr = ReadLine(this, line);
|
||||||
if (m_perr != wxPROTO_NOERR)
|
if (m_perr != wxPROTO_NOERR)
|
||||||
|
Reference in New Issue
Block a user