SF.net SVN: geany:[5481] trunk/src/build.c

ntrel at users.sourceforge.net ntrel at xxxxx
Thu Dec 9 15:34:28 UTC 2010


Revision: 5481
          http://geany.svn.sourceforge.net/geany/?rev=5481&view=rev
Author:   ntrel
Date:     2010-12-09 15:34:28 +0000 (Thu, 09 Dec 2010)

Log Message:
-----------
Remove unused variables.

Modified Paths:
--------------
    trunk/src/build.c

Modified: trunk/src/build.c
===================================================================
--- trunk/src/build.c	2010-12-09 13:14:50 UTC (rev 5480)
+++ trunk/src/build.c	2010-12-09 15:34:28 UTC (rev 5481)
@@ -776,8 +776,6 @@
 static gchar *prepare_run_script(GeanyDocument *doc, gchar **vte_cmd_nonscript, gint cmdindex)
 {
 	gchar *locale_filename = NULL;
-	gboolean have_project;
-	GeanyProject *project = app->project;
 	GeanyBuildCommand *cmd = NULL;
 	gchar *executable = NULL;
 	gchar *working_dir = NULL;
@@ -792,7 +790,6 @@
 
 	locale_filename = utils_get_locale_from_utf8(doc->file_name);
 
-	have_project = project != NULL;
 	cmd = get_build_cmd(doc, GEANY_GBG_EXEC, cmdindex, NULL);
 
 	cmd_string = build_replace_placeholder(doc, cmd->command);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list