[Github-comments] [geany/geany-plugins] Initialize loop variables to make cppcheck happy (#590)

Enrico Tröger notifications at xxxxx
Tue Jul 11 20:35:16 UTC 2017


It seems newer cppcheck versions are too sensible to uninitialized loop
variables when the loop is created by a macro.
This might be a bug in cppcheck or it just cannot check the loop
properly. By initializing the affected variables explicitly, cppcheck
is happy while the unnecessary initialization should not have any
impacts.

The nightly builds for Debian Unstable are currently broken because of this.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Initialize loop variables to make cppcheck happy

-- File Changes --

    M addons/src/ao_tasks.c (2)
    M autoclose/src/autoclose.c (4)
    M commander/src/commander-plugin.c (2)
    M geanyextrasel/src/extrasel.c (2)
    M geanygendoc/src/ggd-tag-utils.c (20)
    M geanylatex/src/geanylatex.c (2)
    M geanylua/glspi_doc.c (4)
    M git-changebar/src/gcb-plugin.c (4)
    M keyrecord/src/keyrecord.c (2)
    M overview/overview/overviewui.c (2)
    M projectorganizer/src/prjorg-main.c (2)
    M projectorganizer/src/prjorg-menu.c (6)
    M projectorganizer/src/prjorg-project.c (16)
    M projectorganizer/src/prjorg-sidebar.c (8)
    M projectorganizer/src/prjorg-utils.c (2)
    M scope/src/scope.c (6)
    M scope/src/utils.c (2)
    M spellcheck/src/gui.c (2)

-- Patch Links --

https://github.com/geany/geany-plugins/pull/590.patch
https://github.com/geany/geany-plugins/pull/590.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/590
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20170711/31807cd3/attachment.html>


More information about the Github-comments mailing list