Branch: refs/heads/master Author: andy5995 andy400-dev@yahoo.com Committer: andy5995 andy400-dev@yahoo.com Date: Fri, 25 Jan 2019 00:29:47 UTC Commit: e3a0dd01ddaaeb54815d8a26d4c114ea0a0a1f6e https://github.com/geany/geany-plugins/commit/e3a0dd01ddaaeb54815d8a26d4c114...
Log Message: ----------- debugger/bptree.c:fix compiler warning
I noticed this warning on buster and slack current, both using gcc8.
This fixes the warning (caused by mixed tabs/spaces indentation):
bptree.c: In function ‘on_hitscount_changed’: bptree.c:373:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if (oldcount != count) ^~ bptree.c:376:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ gtk_tree_path_free(tree_path); ^~~~~~~~~~~~~~~~~~
Modified Paths: -------------- debugger/src/bptree.c
Modified: debugger/src/bptree.c 6 lines changed, 3 insertions(+), 3 deletions(-) =================================================================== @@ -370,9 +370,9 @@ static void on_hitscount_changed(GtkCellRendererText *renderer, gchar *path, gch LINE, &line, -1);
- if (oldcount != count) - breaks_set_hits_count(file, line, count); - + if (oldcount != count) + breaks_set_hits_count(file, line, count); + gtk_tree_path_free(tree_path); g_free(file); }
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).