summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-01-21 02:23:58 +0100
committerCarl Hetherington <cth@carlh.net>2024-01-21 02:23:58 +0100
commit00ec9baf93ff25e52ee81c0b17fe90190898793e (patch)
tree36e331d853fe3893e09d4fe60d5a5e84dc0d3f71
parentbaf6f95e13c969da1f6fe430a95ca9bd40051485 (diff)
Remove unused variables.
-rw-r--r--src/wx/timing_panel.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/wx/timing_panel.cc b/src/wx/timing_panel.cc
index 106998082..3304157e2 100644
--- a/src/wx/timing_panel.cc
+++ b/src/wx/timing_panel.cc
@@ -286,19 +286,15 @@ TimingPanel::film_content_changed (int property)
if (property == ContentProperty::VIDEO_FRAME_RATE) {
set<double> check_vc;
shared_ptr<const Content> content;
- int count_ac = 0;
- int count_sc = 0;
for (auto i: _parent->selected()) {
if (i->video && i->video_frame_rate()) {
check_vc.insert (i->video_frame_rate().get());
content = i;
}
if (i->audio && i->video_frame_rate()) {
- ++count_ac;
content = i;
}
if (!i->text.empty() && i->video_frame_rate()) {
- ++count_sc;
content = i;
}