Make gcc 3.4.2 compile.

svn path=/trunk/; revision=15323
This commit is contained in:
Emanuele Aliberti 2005-05-15 21:41:22 +00:00
parent 468b7ba0f2
commit 6a7f1b10c5

View file

@ -8,9 +8,9 @@
*/
void _tsplitpath(const _TCHAR* path, _TCHAR* drive, _TCHAR* dir, _TCHAR* fname, _TCHAR* ext)
{
_TCHAR* tmp_drive;
_TCHAR* tmp_dir;
_TCHAR* tmp_ext;
_TCHAR* tmp_drive = NULL;
_TCHAR* tmp_dir = NULL;
_TCHAR* tmp_ext = NULL;
tmp_drive = (_TCHAR*)_tcschr(path,':');
if (drive)