summaryrefslogtreecommitdiff
path: root/eel
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2019-06-12 11:12:52 +0200
committerraveit65 <[email protected]>2022-07-20 00:07:08 +0200
commite147685fc803044317154471705d3644dda2e9c8 (patch)
tree2a1647f0e96c120e8f450f06e169e4065446b48b /eel
parent232ce6100034a71c4fefcf5e047b2b0fd9fb480b (diff)
downloadcaja-e147685fc803044317154471705d3644dda2e9c8.tar.bz2
caja-e147685fc803044317154471705d3644dda2e9c8.tar.xz
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
Diffstat (limited to 'eel')
-rw-r--r--eel/eel-canvas.c1
1 files changed, 0 insertions, 1 deletions
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;