Commit f3ef76f9 authored by Moritz Lipp's avatar Moritz Lipp
Browse files

Initialize x_clipboard_text with NULL

parent d423ff73
......@@ -277,7 +277,7 @@ sc_focus_inputbar(girara_session_t* session, girara_argument_t* argument, girara
GdkAtom* selection = get_selection(zathura);
/* we save the X clipboard that will be clear by "grab_focus" */
gchar* x_clipboard_text;
gchar* x_clipboard_text = NULL;
if (selection != NULL) {
x_clipboard_text = gtk_clipboard_wait_for_text(gtk_clipboard_get(*selection));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment