[ros-diffs] [ea] 15323: Make gcc 3.4.2 compile.
ea at svn.reactos.com
ea at svn.reactos.com
Sun May 15 23:41:24 CEST 2005
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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050515/7ef69716/attachment.html
More information about the Ros-diffs
mailing list