diff data/model/IntervalModel.h @ 970:bfe724787abf

Remove redundant code (from coverity scan)
author Chris Cannam
date Wed, 03 Sep 2014 11:07:12 +0100
parents 59e7fe1b1003
children cc27f35aa75c
line wrap: on
line diff
--- a/data/model/IntervalModel.h	Wed Sep 03 11:06:19 2014 +0100
+++ b/data/model/IntervalModel.h	Wed Sep 03 11:07:12 2014 +0100
@@ -106,7 +106,7 @@
         command->deletePoint(point);
 
         switch (column) {
-        case 0: case 1: point.frame = value.toInt(); break; 
+        // column cannot be 0 or 1, those cases were handled above
         case 2: point.value = value.toDouble(); break;
         case 3: point.duration = value.toInt(); break;
         }