Branch: refs/heads/master Author: Frank Lanitz frank@frank.uvena.de Committer: GitHub noreply@github.com Date: Fri, 11 Oct 2019 06:08:39 UTC Commit: 0bfe89d1a4da1d3781e7465e2ae2db9bcfd06e8e https://github.com/geany/geany-plugins/commit/0bfe89d1a4da1d3781e7465e2ae2db...
Log Message: ----------- Merge pull request #916 from eht16/overview_fix_cppcheck
Overview: initialize color variables
Modified Paths: -------------- overview/overview/overviewscintilla.c
Modified: overview/overview/overviewscintilla.c 4 lines changed, 2 insertions(+), 2 deletions(-) =================================================================== @@ -796,14 +796,14 @@ overview_scintilla_get_property (GObject *object, break; case PROP_OVERLAY_COLOR: { - OverviewColor color; + OverviewColor color = { 0 }; overview_scintilla_get_overlay_color (self, &color); g_value_set_boxed (value, &color); break; } case PROP_OVERLAY_OUTLINE_COLOR: { - OverviewColor color; + OverviewColor color = { 0 }; overview_scintilla_get_overlay_outline_color (self, &color); g_value_set_boxed (value, &color); break;
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
plugins-commits@lists.geany.org