diff options
author | Pablo Barciela <[email protected]> | 2018-01-02 15:46:22 +0100 |
---|---|---|
committer | Pablo Barciela <[email protected]> | 2018-01-02 15:46:22 +0100 |
commit | 88a2e87f43a8ecb3b04176f2bda8a9f690c3fb16 (patch) | |
tree | ec25a7580aca84bcac6b9eba77da9d9e869ab9b6 | |
parent | 2ebbfe05a87d24d56273036e9917102be8656a22 (diff) | |
download | pluma-88a2e87f43a8ecb3b04176f2bda8a9f690c3fb16.tar.bz2 pluma-88a2e87f43a8ecb3b04176f2bda8a9f690c3fb16.tar.xz |
pluma-document.c: Fix build warning:
‘replace_text_len’ may be used uninitialized in this function
-rw-r--r-- | pluma/pluma-document.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pluma/pluma-document.c b/pluma/pluma-document.c index ecc7f424..40cbfd43 100644 --- a/pluma/pluma-document.c +++ b/pluma/pluma-document.c @@ -2099,7 +2099,7 @@ pluma_document_replace_all (PlumaDocument *doc, gint cont = 0; gchar *search_text; gchar *replace_text = NULL; - gint replace_text_len; + gint replace_text_len = 0; GtkTextBuffer *buffer; gboolean brackets_highlighting; gboolean search_highliting; |