clock/clockmw/clocktimezone/src/timezoneclient.cpp
changeset 83 5aadd1120515
parent 57 bb2d3e476f29
--- a/clock/clockmw/clocktimezone/src/timezoneclient.cpp	Tue Oct 05 14:14:48 2010 +0530
+++ b/clock/clockmw/clocktimezone/src/timezoneclient.cpp	Fri Oct 15 12:10:36 2010 +0530
@@ -999,7 +999,6 @@
 	int ruleMatchIndex( KNoDifference );
 
 	TTimeIntervalSeconds secondsDifference;
-	TTime ruleMatchTime;
 
 	// Fetch lowest time offset for the year residing at aTime.
 	// This is used to determine if DST is on.
@@ -1048,9 +1047,6 @@
 			TTime tempTime( sevenDays );
 			TTime newTime( ruleTime.Int64() + tempTime.Int64() );
 
-			TTimeIntervalDays temp;
-			temp = newTime.DaysFrom( ruleTime );
-
 			if ( ( secondsDifference.Int() >= KNoDifference ) &&
 					( newTime > alarmTime) &&
 					( actualisedRule.iTimeOfChange < alarmTime ) &&
@@ -1058,7 +1054,6 @@
 				// If there is a match, save the index and break.
 				// We've got the rule and there's no need to continue with other rules.
 				ruleMatchIndex = ruleIndex;
-				ruleMatchTime = actualisedRule.iTimeOfChange;
 				break;
 			}
 		}