diff options
author | Pablo Barciela <[email protected]> | 2019-03-03 02:20:43 +0100 |
---|---|---|
committer | ZenWalker <[email protected]> | 2019-03-06 23:59:47 +0100 |
commit | ee16c212d5ce11f6d782f86bb62302356b163462 (patch) | |
tree | 7c5df2323db10b5a2f38f5f19cc6002aeee93d61 /eel | |
parent | 38bee9f955202c802bbf5972f20533d09ebd2d5b (diff) | |
download | caja-ee16c212d5ce11f6d782f86bb62302356b163462.tar.bz2 caja-ee16c212d5ce11f6d782f86bb62302356b163462.tar.xz |
eel-canvas: Fix warning: Undefined or garbage value returned to caller
Fixes Clang static analyzer warning:
eel-canvas.c:3426:9: warning: Undefined or garbage value returned to caller
return item;
^~~~~~~~~~~
Diffstat (limited to 'eel')
-rw-r--r-- | eel/eel-canvas.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eel/eel-canvas.c b/eel/eel-canvas.c index c7e31f3e..5cdcc4db 100644 --- a/eel/eel-canvas.c +++ b/eel/eel-canvas.c @@ -3413,7 +3413,7 @@ eel_canvas_update_now (EelCanvas *canvas) EelCanvasItem * eel_canvas_get_item_at (EelCanvas *canvas, double x, double y) { - EelCanvasItem *item; + EelCanvasItem *item = NULL; double dist; int cx, cy; |