From 6a7f1b10c59ed2cb84f1a6f05a84ea0c361d4461 Mon Sep 17 00:00:00 2001 From: Emanuele Aliberti Date: Sun, 15 May 2005 21:41:22 +0000 Subject: [PATCH] Make gcc 3.4.2 compile. svn path=/trunk/; revision=15323 --- reactos/lib/crt/stdlib/splitp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reactos/lib/crt/stdlib/splitp.c b/reactos/lib/crt/stdlib/splitp.c index 5a62acefffa..bb00b4cb911 100644 --- a/reactos/lib/crt/stdlib/splitp.c +++ b/reactos/lib/crt/stdlib/splitp.c @@ -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)