From 35388c609f96109a55316f52ee648412285268ec Mon Sep 17 00:00:00 2001 From: seife Date: Sun, 6 Mar 2011 18:18:59 +0000 Subject: [PATCH] fix compiler warnings in netfile.cpp this threw a lot of "warning: suggest a space before ';' or explicit braces around empty body in 'for' statement" git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1266 e54a6e83-5905-42d5-8d5c-058d10e6a962 --- src/driver/netfile.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/driver/netfile.cpp b/src/driver/netfile.cpp index db3de6668..de0f895da 100644 --- a/src/driver/netfile.cpp +++ b/src/driver/netfile.cpp @@ -539,7 +539,7 @@ int request_file(URL *url) if(_ptr) \ { \ _ptr = strchr(_ptr, ':'); \ - for(; !isalnum(*_ptr); _ptr++); \ + for(; !isalnum(*_ptr); _ptr++) {}; \ b = atoi(_ptr); \ } else b = -1; } @@ -550,7 +550,7 @@ int request_file(URL *url) { \ unsigned int i; \ _ptr = strchr(_ptr, ':'); \ - for(_ptr++; isspace(*_ptr); _ptr++); \ + for(_ptr++; isspace(*_ptr); _ptr++) {}; \ for (i=0; (_ptr[i]!='\n') && (_ptr[i]!='\r') && (_ptr[i]!='\0') && (i