Make gcc 3.4.2 compile.
Modified: trunk/reactos/lib/crt/stdlib/splitp.c
_____
Modified: trunk/reactos/lib/crt/stdlib/splitp.c
--- trunk/reactos/lib/crt/stdlib/splitp.c 2005-05-15 21:39:10 UTC
(rev 15322)
+++ trunk/reactos/lib/crt/stdlib/splitp.c 2005-05-15 21:41:22 UTC
(rev 15323)
@@ -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)
Show replies by date