serviceproviders/sapi_calendar/calendarservice/src/addentry.cpp
branchRCL_3
changeset 34 5dae2c62e9b6
parent 23 50974a8b132e
--- a/serviceproviders/sapi_calendar/calendarservice/src/addentry.cpp	Fri Feb 19 23:43:21 2010 +0200
+++ b/serviceproviders/sapi_calendar/calendarservice/src/addentry.cpp	Mon Mar 15 12:43:25 2010 +0200
@@ -179,7 +179,7 @@
 		
 		TCalTime instanceStTime = iCalendarEntry->InstanceStartTime();
         
-		CCalInstance* instance;
+		CCalInstance* instance = NULL;
 		
 
 		// Fetch instance having start time and LocalUid specified and GlobalUid specified
@@ -262,7 +262,7 @@
 	else
 		{
 		// Fetch entry to be modified
-		CCalEntry* entry ;
+		CCalEntry* entry = NULL;
 
 		if(iCalendarEntry->ModifiedAttributes() & CEntryAttributes::ELocalUid)
             {