More robust way of building on 10.6 for a 10.5+ target.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6314 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Soren Jorvang
2010-10-24 20:07:12 +00:00
parent ab53c84dcf
commit 78ab1c0f3f
4 changed files with 14 additions and 23 deletions

View File

@ -489,7 +489,7 @@ Ftp::Response Ftp::GetResponse()
if (In >> Code)
{
// Extract the separator
char Sep;
char Sep = 0;
In.get(Sep);
// The '-' character means a multiline response

View File

@ -260,7 +260,7 @@ void Http::Response::FromString(const std::string& Data)
}
// Extract the status code from the first line
int StatusCode;
int StatusCode = 0;
if (In >> StatusCode)
{
myStatus = static_cast<Status>(StatusCode);