Branch: refs/heads/master Author: Enrico Tröger enrico.troeger@uvena.de Committer: Enrico Tröger enrico.troeger@uvena.de Date: Sun, 13 Aug 2017 13:21:23 UTC Commit: 544e9f6b57927eb98bd8daadb1b7bd2b9a3b2c89 https://github.com/geany/geany-plugins/commit/544e9f6b57927eb98bd8daadb1b7bd...
Log Message: ----------- Initialize variable "closing_comment"
Older cppcheck versions (e.g. 1.61 on Ubuntu 14.04) seem to detect this as an error which is not. Yet, the initialization won't hurt.
Modified Paths: -------------- addons/src/ao_tasks.c
Modified: addons/src/ao_tasks.c 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -559,7 +559,7 @@ static void create_task(AoTasks *t, GeanyDocument *doc, gint line, const gchar * static void update_tasks_for_doc(AoTasks *t, GeanyDocument *doc) { gint lexer, lines, line, last_pos = 0, style; - gchar *line_buf, *display_name, *task_start, *closing_comment; + gchar *line_buf, *display_name, *task_start, *closing_comment = NULL; gchar **token; AoTasksPrivate *priv = AO_TASKS_GET_PRIVATE(t);
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
plugins-commits@lists.geany.org