Bug 2939: Correct initialisation of VA_LIST. GCC_SURGE
authorPat Downey <patd@symbian.org>
Tue, 15 Jun 2010 15:21:52 +0100
branchGCC_SURGE
changeset 39 5c778154cc1d
parent 38 871fa3ede3a0
child 40 4b686cfad39d
Bug 2939: Correct initialisation of VA_LIST.
pimappservices/calendar/shared/src/agmdebug.cpp
--- a/pimappservices/calendar/shared/src/agmdebug.cpp	Tue Jun 15 15:18:28 2010 +0100
+++ b/pimappservices/calendar/shared/src/agmdebug.cpp	Tue Jun 15 15:21:52 2010 +0100
@@ -26,7 +26,7 @@
 
 EXPORT_C void AgmDebug::DebugLog(const char* aFmt,...)
 	{
-	VA_LIST list = {NULL};
+	VA_LIST list;
 	VA_START(list,aFmt);
 
 	TPtrC8 fmt8((const TText8*)aFmt);
@@ -49,7 +49,7 @@
 
 EXPORT_C void AgmDebug::DebugLogTimeStampL(const char* aFmt,...)
 	{
-	VA_LIST list = {NULL};
+	VA_LIST list;
 	VA_START(list,aFmt);
 
 	TPtrC8 fmt8((const TText8*)aFmt);