Branch: refs/heads/master Author: Matthew Brush matt@geany.org Committer: Matthew Brush matt@geany.org Date: Thu, 21 Dec 2017 02:59:16 UTC Commit: 681c13841a7d6a3a91b60645d86012b10b820c59 https://github.com/geany/geany/commit/681c13841a7d6a3a91b60645d86012b10b820c...
Log Message: ----------- Work around potentially uninitialized variable warning
Simply zero-initializes the variable.
Requires -O3 optimization level to trigger.
Modified Paths: -------------- src/document.c
Modified: src/document.c 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -3701,7 +3701,7 @@ gboolean document_check_disk_status(GeanyDocument *doc, gboolean force) { gboolean ret = FALSE; gboolean use_gio_filemon; - time_t mtime; + time_t mtime = 0; gchar *locale_filename; FileDiskStatus old_status;
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).