Commented out lines causing warnings in RVCT.
authorBrendan Donegan <brendand@symbian.org>
Sun, 02 May 2010 13:14:23 +0100
changeset 79 ba4dba32295b
parent 78 6e40b14bb2cd
child 81 46e6a623d36d
Commented out lines causing warnings in RVCT.
application/src/PodcastFeedView.cpp
application/src/PodcastSearchView.cpp
application/src/PodcastSettingsView.cpp
application/src/PodcastShowsView.cpp
--- a/application/src/PodcastFeedView.cpp	Sat May 01 21:58:19 2010 +0100
+++ b/application/src/PodcastFeedView.cpp	Sun May 02 13:14:23 2010 +0100
@@ -37,11 +37,11 @@
 const TInt KMaxFeedNameLength = 100;
 const TInt KMaxUnplayedFeedsLength =64;
 const TInt KADayInHours = 24;
-const TInt KDefaultGran = 5;
-const TInt KNumberOfFilesMaxLength = 4;
+//const TInt KDefaultGran = 5;
+//const TInt KNumberOfFilesMaxLength = 4;
 #define KMaxMessageLength 200
 #define KMaxTitleLength 100
-const TInt KMimeBufLength = 100;
+//const TInt KMimeBufLength = 100;
 
 _LIT(KFeedFormat, "%d\t%S\t%S%S");
 enum 
--- a/application/src/PodcastSearchView.cpp	Sat May 01 21:58:19 2010 +0100
+++ b/application/src/PodcastSearchView.cpp	Sun May 02 13:14:23 2010 +0100
@@ -39,13 +39,13 @@
 #include <akntoolbarextension.h>
 
 const TInt KMaxFeedNameLength = 100;
-const TInt KDefaultGran = 5;
-const TInt KNumberOfFilesMaxLength = 4;
+//const TInt KDefaultGran = 5;
+//const TInt KNumberOfFilesMaxLength = 4;
 #define KMaxMessageLength 200
 #define KMaxTitleLength 100
-const TInt KMimeBufLength = 100;
+//const TInt KMimeBufLength = 100;
 
-_LIT(KUnknownUpdateDateString, "?/?");
+//_LIT(KUnknownUpdateDateString, "?/?");
 _LIT(KSearchResultFormat, "%d\t%S\t%S");
 
 CPodcastSearchView* CPodcastSearchView::NewL(CPodcastModel& aPodcastModel)
--- a/application/src/PodcastSettingsView.cpp	Sat May 01 21:58:19 2010 +0100
+++ b/application/src/PodcastSettingsView.cpp	Sun May 02 13:14:23 2010 +0100
@@ -381,32 +381,26 @@
 			case EPodcastSettingShowDir:
 				DP("EPodcastSettingShowDir");
 				return new (ELeave) CAknTextSettingItem(aSettingId, iShowDir);
-				break;
 			case EPodcastSettingAutoUpdate:
 				DP("EPodcastSettingAutoUpdate");
 				iSettingAutoUpdate = new (ELeave) CAknEnumeratedTextPopupSettingItem(aSettingId, iAutoUpdate);
 				return iSettingAutoUpdate;
-				break;
 			case EPodcastSettingConnection:
 				DP("EPodcastSettingConnection");
 				return new (ELeave) CConnectionSetting (aSettingId, iConnection, iPodcastModel);
-				break;
 			case EPodcastSettingIAPList:
 				DP("EPodcastSettingIAPList");
 				iSettingIAP = new (ELeave) CIapSetting (aSettingId, iIap, iPodcastModel);
 				return iSettingIAP;
-				break;
 			case EPodcastSettingAutoDownload:
 				DP("EPodcastSettingAutoDownload");
 				iSettingAutoDownload = new (ELeave) CAknBinaryPopupSettingItem (aSettingId, iAutoDownload);
 				return iSettingAutoDownload;
-				break;
 			default:
 				return CAknSettingItemList::CreateSettingItemL(aSettingId);
-				break;
 			}
-		DP("CreateSettingItemL END");
-		return NULL;	
+		//DP("CreateSettingItemL END");
+		//return NULL;
 		}
 	
 	TFileName iShowDir;
@@ -543,6 +537,7 @@
 		}
 		break;
 	case EPodcastResetDb:
+		{
 		CAknQueryDialog* dlg= new(ELeave) CAknQueryDialog();
 		
 		CleanupStack::PushL(dlg);
@@ -555,9 +550,12 @@
 			iPodcastModel.DropDB();
 			AppUi()->Exit();
 			}
+		}
 		break;
 	default:
+		{
 		AppUi()->HandleCommandL(aCommand);
+		}
 		break;
 	}
 }
--- a/application/src/PodcastShowsView.cpp	Sat May 01 21:58:19 2010 +0100
+++ b/application/src/PodcastShowsView.cpp	Sun May 02 13:14:23 2010 +0100
@@ -38,8 +38,8 @@
 _LIT(KShowsSizeFormatS60, "%.1f MB");
 
 _LIT(KShowFormat, "%d\t%S\t%S%S\t");
-_LIT(KShowErrorFormat, "%d\t%S\t%S\t");
-_LIT(KShowQueueFormat, "%d\t%S\t%S%S\t");
+//_LIT(KShowErrorFormat, "%d\t%S\t%S\t");
+//_LIT(KShowQueueFormat, "%d\t%S\t%S%S\t");
 
 // these must correspond with TShowsIconIndex