unexplained warning fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1722 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
1 parent
443e505154
commit
b46d1d403a
1 file changed
+1
-2
@@ -532,8 +532,7 @@ error_jmp:
|
|||||||
void GetCurrentDirectory(std::string& _rDirectory)
|
void GetCurrentDirectory(std::string& _rDirectory)
|
||||||
{
|
{
|
||||||
char tmpBuffer[MAX_PATH+1];
|
char tmpBuffer[MAX_PATH+1];
|
||||||
getcwd(tmpBuffer, MAX_PATH);
|
_rDirectory = getcwd(tmpBuffer, MAX_PATH);
|
||||||
_rDirectory = tmpBuffer;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace
|
} // namespace
|
||||||
Reference in new issue
Block a user