Kaydet (Commit) 681c1384 authored tarafından Matthew Brush's avatar Matthew Brush

Work around potentially uninitialized variable warning

Simply zero-initializes the variable.

Requires -O3 optimization level to trigger.
üst c61bc678
...@@ -3701,7 +3701,7 @@ gboolean document_check_disk_status(GeanyDocument *doc, gboolean force) ...@@ -3701,7 +3701,7 @@ gboolean document_check_disk_status(GeanyDocument *doc, gboolean force)
{ {
gboolean ret = FALSE; gboolean ret = FALSE;
gboolean use_gio_filemon; gboolean use_gio_filemon;
time_t mtime; time_t mtime = 0;
gchar *locale_filename; gchar *locale_filename;
FileDiskStatus old_status; FileDiskStatus old_status;
......
Markdown is supported
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