Avoid possible use of uninitialized values.

This could only happen with a broken widget, but it shuts up clang and doesn't
hurt.
This commit is contained in:
David Robillard 2014-11-18 02:37:30 -05:00
parent 976a150e6b
commit bd577a0663
3 changed files with 3 additions and 3 deletions

View file

@ -91,7 +91,7 @@ Widget::compute_bounding_box () const
{
std::cerr << "cbbox for widget\n";
GtkRequisition req;
GtkRequisition req = { 0, 0 };
Gtk::Allocation alloc;
_widget.size_request (req);