From 6e09c5cee8377db9bbcf8dff06ccbcb8557abe1c Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 16 Jan 2020 19:43:05 -0500 Subject: [PATCH] Quiet compiler warnings in release builds --- gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index d87f996b1b..4fd0c3a63b 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -12234,8 +12234,8 @@ static inline void gtk_widget_maybe_add_debug_render_nodes (GtkWidget *widget, GtkSnapshot *snapshot) { - GtkWidgetPrivate *priv = gtk_widget_get_instance_private (widget); #ifdef G_ENABLE_DEBUG + GtkWidgetPrivate *priv = gtk_widget_get_instance_private (widget); GdkDisplay *display = _gtk_widget_get_display (widget); if (GTK_DISPLAY_DEBUG_CHECK (display, BASELINES))