Remove unused variable.
authorCarl Hetherington <cth@carlh.net>
Thu, 13 Oct 2022 05:51:19 +0000 (07:51 +0200)
committerCarl Hetherington <cth@carlh.net>
Fri, 14 Oct 2022 09:41:18 +0000 (11:41 +0200)
src/wx/audio_dialog.cc
src/wx/audio_dialog.h

index 30fe2f752ff93249c7be883729a7d4d46b732cbe..a4f1dd514884621b4431b388fb2a628cae38a7fc 100644 (file)
@@ -73,7 +73,6 @@ AudioDialog::AudioDialog (wxWindow* parent, shared_ptr<Film> film, FilmViewer& v
 #endif
                )
        , _film (film)
-       , _viewer (viewer)
        , _content (content)
        , _channels (film->audio_channels ())
        , _plot (nullptr)
index 746b23f40ecbbea95add7a9b57abaeb4e120b9e9..71fbb658b758b0076f616831dcb9adfb432c9886 100644 (file)
@@ -56,7 +56,6 @@ private:
 
        std::shared_ptr<AudioAnalysis> _analysis;
        std::weak_ptr<Film> _film;
-       FilmViewer& _viewer;
        /** content to analyse, or 0 to analyse all the film's content */
        std::weak_ptr<Content> _content;
        int _channels;