[Github-comments] [geany/geany-plugins] debugger/bptree.c:fix compiler warning (#816)

Andy Alt notifications at xxxxx
Fri Jan 25 00:30:40 UTC 2019


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);
  ^~~~~~~~~~~~~~~~~~
```
You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany-plugins/pull/816

-- Commit Summary --

  * debugger/bptree.c:fix compiler warning

-- File Changes --

    M debugger/src/bptree.c (6)

-- Patch Links --

https://github.com/geany/geany-plugins/pull/816.patch
https://github.com/geany/geany-plugins/pull/816.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/816
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20190125/b6a8fe12/attachment.html>


More information about the Github-comments mailing list