[evolution/gnome-3-24] Fix a compiler warning (maybe-uninitialized)



commit d7abe0dbc97fa0e77ca712ec78ff6f27ad938ee1
Author: Milan Crha <mcrha redhat com>
Date:   Fri Mar 24 15:07:06 2017 +0100

    Fix a compiler warning (maybe-uninitialized)

 .../web-extension/e-editor-dom-functions.c         |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/modules/webkit-editor/web-extension/e-editor-dom-functions.c 
b/src/modules/webkit-editor/web-extension/e-editor-dom-functions.c
index 90f2c56..e97a9ab 100644
--- a/src/modules/webkit-editor/web-extension/e-editor-dom-functions.c
+++ b/src/modules/webkit-editor/web-extension/e-editor-dom-functions.c
@@ -5808,7 +5808,7 @@ body_drop_event_cb (WebKitDOMElement *element,
 
        if (e_editor_page_is_pasting_content_from_itself (editor_page)) {
                EEditorUndoRedoManager *manager;
-               EEditorHistoryEvent *and_event, *event;
+               EEditorHistoryEvent *and_event, *event = NULL;
 
                /* There is a weird thing going on and I still don't know if it's
                 * caused by WebKit or Evolution. If dragging content around the


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]