Fix probably-innocuous uninitialised variable.
authorCarl Hetherington <cth@carlh.net>
Sun, 2 Dec 2012 20:55:11 +0000 (20:55 +0000)
committerCarl Hetherington <cth@carlh.net>
Sun, 2 Dec 2012 20:55:11 +0000 (20:55 +0000)
src/wx/film_viewer.cc

index 79de49406d86d41a5f9150f31d1f58a6e8b9226d..a821323586dd2cce1c5e29b275aac541667bca7f 100644 (file)
@@ -43,6 +43,7 @@ public:
        ThumbPanel (wxPanel* parent, shared_ptr<Film> film)
                : wxPanel (parent)
                , _film (film)
+               , _index (0)
                , _frame_rebuild_needed (false)
                , _composition_needed (false)
        {}