summaryrefslogtreecommitdiffstats
path: root/src/sp-cursor.cpp
diff options
context:
space:
mode:
authorThomas Holder <thomas@thomas-holder.de>2019-08-23 15:25:01 +0000
committerMarc Jeanmougin <marcjeanmougin@free.fr>2019-08-23 17:38:10 +0000
commitac61104df7df1b452666a037aeac55d5b71da85d (patch)
tree6240a92eebb158c8785e15342a5db7c0ecf3d0a6 /src/sp-cursor.cpp
parentUpdate of Czech translation (diff)
downloadinkscape-ac61104df7df1b452666a037aeac55d5b71da85d.tar.gz
inkscape-ac61104df7df1b452666a037aeac55d5b71da85d.zip
Eliminate clang warnings
-Winfinite-recursion -Wpessimizing-move -Wunused-label -Wunneeded-internal-declaration -Wself-assign-overloaded -Wunused-const-variable (some) -Wsometimes-uninitialized (some)
Diffstat (limited to 'src/sp-cursor.cpp')
-rw-r--r--src/sp-cursor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-cursor.cpp b/src/sp-cursor.cpp
index 3cac8c633..dd8a30053 100644
--- a/src/sp-cursor.cpp
+++ b/src/sp-cursor.cpp
@@ -58,7 +58,7 @@ struct RGBA {
GdkCursor *sp_cursor_from_xpm(char const *const *xpm, guint32 fill, guint32 stroke)
{
GdkPixbuf *pixbuf;
- GdkCursor *cursor;
+ GdkCursor *cursor = nullptr;
GdkDisplay *display = gdk_display_get_default();
int height = 0;