mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 13:45:43 +01:00
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:
parent
976a150e6b
commit
bd577a0663
3 changed files with 3 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue