From 3f0413a80e345b995e200fe7c94179435491b24d Mon Sep 17 00:00:00 2001 From: Pablo Barciela Date: Wed, 12 Jun 2019 11:12:52 +0200 Subject: eel-canvas: cppcheck: Local variable 'allocation' shadows outer variable Fixes cppcheck warning: [eel/eel-canvas.c:3261] -> [eel/eel-canvas.c:3297]: (style) Local variable allocation shadows outer variable --- eel/eel-canvas.c | 1 - 1 file changed, 1 deletion(-) diff --git a/eel/eel-canvas.c b/eel/eel-canvas.c index dc98bbc3..7efa67f8 100644 --- a/eel/eel-canvas.c +++ b/eel/eel-canvas.c @@ -3294,7 +3294,6 @@ eel_canvas_set_pixels_per_unit (EelCanvas *canvas, double n) window = NULL; if (gtk_widget_get_mapped (widget)) { - GtkAllocation allocation; attributes.window_type = GDK_WINDOW_CHILD; gtk_widget_get_allocation (widget, &allocation); attributes.x = allocation.x; -- cgit v1.2.1