[geany/geany-plugins] 9a2ae4: Remove some unused variables and initialize some

Frank Lanitz git-noreply at xxxxx
Thu Nov 2 17:44:36 UTC 2017


Branch:      refs/heads/master
Author:      Frank Lanitz <frank at frank.uvena.de>
Committer:   Frank Lanitz <frank at frank.uvena.de>
Date:        Thu, 02 Nov 2017 17:44:36 UTC
Commit:      9a2ae4996a2958560d0d274e660676c7d4ea7703
             https://github.com/geany/geany-plugins/commit/9a2ae4996a2958560d0d274e660676c7d4ea7703

Log Message:
-----------
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