diff options
| author | Thomas Holder <thomas@thomas-holder.de> | 2019-08-23 15:25:01 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marcjeanmougin@free.fr> | 2019-08-23 17:38:10 +0000 |
| commit | ac61104df7df1b452666a037aeac55d5b71da85d (patch) | |
| tree | 6240a92eebb158c8785e15342a5db7c0ecf3d0a6 /src/sp-cursor.cpp | |
| parent | Update of Czech translation (diff) | |
| download | inkscape-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.cpp | 2 |
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; |
