Initialize variable (CID 1405467)
authorRicardo Mones <ricardo@mones.org>
Thu, 27 Apr 2017 22:31:17 +0000 (00:31 +0200)
committerRicardo Mones <ricardo@mones.org>
Thu, 27 Apr 2017 22:31:17 +0000 (00:31 +0200)
src/plugins/fancy/fancy_viewer.c

index efdd232..3e818f8 100644 (file)
@@ -853,7 +853,7 @@ static gboolean press_button_cb (WebKitWebView *view, GdkEvent *ev,
                FancyViewer *viewer)
 {
 #if WEBKIT_CHECK_VERSION(1,5,1)
-       gint type;
+       gint type = 0;
        WebKitHitTestResult *result =
                webkit_web_view_get_hit_test_result(view, (GdkEventButton *)ev);