Fix uninitialised variables.
authorCarl Hetherington <carl@carlh.net>
Sun, 22 Apr 2012 23:41:08 +0000 (23:41 +0000)
committerCarl Hetherington <carl@carlh.net>
Sun, 22 Apr 2012 23:41:08 +0000 (23:41 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@12058 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/ardour_button.cc

index 942d678bfbfd01022765a35b0f842500a41b083e..1d98a7b84fceb2786f18d1d246b2c2b904868e85 100644 (file)
@@ -75,10 +75,12 @@ ArdourButton::ArdourButton (Element e)
 
 ArdourButton::ArdourButton (const std::string& str, Element e)
        : _elements (e)
+       , _tweaks (Tweaks (0))
        , _text_width (0)
        , _text_height (0)
        , _diameter (11.0)
        , _corner_radius (9.0)
+       , _corner_mask (0xf)
        , edge_pattern (0)
        , active_pattern (0)
        , inactive_pattern (0)