diff options
-rw-r--r-- | .clang-tidy | 1 | ||||
-rw-r--r-- | src/jalv_gtk.c | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/.clang-tidy b/.clang-tidy index e84fb51..3ff44a2 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -41,7 +41,6 @@ Checks: > -modernize-use-using, -readability-implicit-bool-conversion, -readability-inconsistent-declaration-parameter-name, - -readability-isolate-declaration, -readability-non-const-parameter, -readability-static-accessed-through-instance, WarningsAsErrors: '*' diff --git a/src/jalv_gtk.c b/src/jalv_gtk.c index 305ae49..7a76e1b 100644 --- a/src/jalv_gtk.c +++ b/src/jalv_gtk.c @@ -1272,7 +1272,8 @@ jalv_open_ui(Jalv* jalv) gtk_container_add(GTK_CONTAINER(alignment), scroll_win); gtk_widget_show_all(vbox); - GtkRequisition controls_size, box_size; + GtkRequisition controls_size = {0, 0}; + GtkRequisition box_size = {0, 0}; size_request(GTK_WIDGET(controls), &controls_size); size_request(GTK_WIDGET(vbox), &box_size); |