[geany/geany-plugins] 30c5f0: Merge pull request #643 from frlan/fixes/workbench/uninitialized_and_unused_variables
Frank Lanitz
git-noreply at xxxxx
Thu Nov 2 18:57:43 UTC 2017
Branch: refs/heads/master
Author: Frank Lanitz <frank at frank.uvena.de>
Committer: GitHub <noreply at github.com>
Date: Thu, 02 Nov 2017 18:57:43 UTC
Commit: 30c5f0d9fd7f7808633a6095477dd38559404553
https://github.com/geany/geany-plugins/commit/30c5f0d9fd7f7808633a6095477dd38559404553
Log Message:
-----------
Merge pull request #643 from frlan/fixes/workbench/uninitialized_and_unused_variables
Remove some unused variables and initialize some
Modified Paths:
--------------
workbench/src/utils.c
Modified: workbench/src/utils.c
6 lines changed, 2 insertions(+), 4 deletions(-)
===================================================================
@@ -261,9 +261,7 @@ gchar *get_any_relative_path (const gchar *base, const gchar *target)
**/
void open_all_files_in_list(GPtrArray *list)
{
- GeanyData* geany_data = wb_globals.geany_plugin->geany_data;
- gboolean is_open;
- guint index, doc;
+ guint index;
for (index = 0 ; index < list->len ; index++)
{
@@ -280,7 +278,7 @@ void open_all_files_in_list(GPtrArray *list)
void close_all_files_in_list(GPtrArray *list)
{
GeanyData* geany_data = wb_globals.geany_plugin->geany_data;
- guint index, doc;
+ guint index, doc=0;
for (index = 0 ; index < list->len ; index++)
{
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Plugins-Commits
mailing list