Update of /cvsroot/mahogany/M/src/gui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2230/src/gui
Modified Files:
wxFiltersDialog.cpp wxSubfoldersDialog.cpp
Log Message:
gcc warning fixes
Index: wxFiltersDialog.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxFiltersDialog.cpp,v
retrieving revision 1.127
retrieving revision 1.128
diff -b -u -2 -r1.127 -r1.128
--- wxFiltersDialog.cpp 30 Jun 2005 17:11:00 -0000 1.127
+++ wxFiltersDialog.cpp 4 Jul 2005 12:03:41 -0000 1.128
@@ -772,4 +772,23 @@
enableHelpText = true;
break;
+
+ default:
+ FAIL_MSG( _T("unknown ORC_T_XXX") );
+ // fall through
+
+ case ORC_T_Illegal:
+ case ORC_T_Always:
+ case ORC_T_Match:
+ case ORC_T_Contains:
+ case ORC_T_MatchC:
+ case ORC_T_ContainsC:
+ case ORC_T_MatchRegExC:
+ case ORC_T_Python:
+ case ORC_T_MatchRegEx:
+ case ORC_T_ScoreAbove:
+ case ORC_T_ScoreBelow:
+ case ORC_T_IsFromMe:
+ case ORC_T_Max:
+ ;
}
Index: wxSubfoldersDialog.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxSubfoldersDialog.cpp,v
retrieving revision 1.84
retrieving revision 1.85
diff -b -u -2 -r1.84 -r1.85
--- wxSubfoldersDialog.cpp 1 Jul 2005 17:51:05 -0000 1.84
+++ wxSubfoldersDialog.cpp 4 Jul 2005 12:03:41 -0000 1.85
@@ -455,4 +455,8 @@
}
break;
+
+ default:
+ // needed just to suppress gcc warning
+ ;
}
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates