Fix warning.
git-svn-id: svn://localhost/ardour2/branches/3.0@10688 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
@@ -1132,8 +1132,6 @@ AudioClock::index_to_field (int index) const
|
||||
return Timecode_Seconds;
|
||||
} else if (index < 13) {
|
||||
return Timecode_Frames;
|
||||
} else {
|
||||
return Field (0);
|
||||
}
|
||||
break;
|
||||
case BBT:
|
||||
@@ -1143,11 +1141,8 @@ AudioClock::index_to_field (int index) const
|
||||
return Beats;
|
||||
} else if (index < 12) {
|
||||
return Ticks;
|
||||
} else {
|
||||
return Field (0);
|
||||
}
|
||||
break;
|
||||
|
||||
case MinSec:
|
||||
if (index < 3) {
|
||||
return Timecode_Hours;
|
||||
@@ -1157,15 +1152,14 @@ AudioClock::index_to_field (int index) const
|
||||
return MS_Seconds;
|
||||
} else if (index < 12) {
|
||||
return MS_Milliseconds;
|
||||
} else {
|
||||
return Field (0);
|
||||
}
|
||||
break;
|
||||
|
||||
case Frames:
|
||||
return AudioFrames;
|
||||
break;
|
||||
}
|
||||
|
||||
return Field (0);
|
||||
}
|
||||
|
||||
bool
|
||||
|
||||
Reference in New Issue
Block a user