changeset 970:bfe724787abf

Remove redundant code (from coverity scan)
author Chris Cannam
date Wed, 03 Sep 2014 11:07:12 +0100
parents a8aed8a85e09
children 9869ea3a93b7
files data/model/IntervalModel.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;
         }