Bug 2939: Correct initialisation of VA_LIST.
--- 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);