[anjuta] general: fixed two warnings



commit f3bab35bd70ba585b630f1bed95770ae94814c19
Author: Johannes Schmid <jhs gnome org>
Date:   Sun Mar 14 20:54:59 2010 +0100

    general: fixed two warnings

 plugins/build-basic-autotools/plugin.c |    2 +-
 plugins/gbf-mkfile/plugin.c            |    1 -
 2 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/plugins/build-basic-autotools/plugin.c b/plugins/build-basic-autotools/plugin.c
index 0eef930..1669ba3 100644
--- a/plugins/build-basic-autotools/plugin.c
+++ b/plugins/build-basic-autotools/plugin.c
@@ -2124,7 +2124,7 @@ static const gchar*
 build_get_uri_configuration (BasicAutotoolsPlugin *plugin, const gchar *uri)
 {
 	BuildConfiguration *cfg;
-	BuildConfiguration *uri_cfg;
+	BuildConfiguration *uri_cfg = NULL;
 	gsize uri_len = 0;
 
 	/* Check all configurations as other configuration directories are
diff --git a/plugins/gbf-mkfile/plugin.c b/plugins/gbf-mkfile/plugin.c
index 0380891..9372abe 100644
--- a/plugins/gbf-mkfile/plugin.c
+++ b/plugins/gbf-mkfile/plugin.c
@@ -18,7 +18,6 @@
     Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 */
 
-#define DEBUG
 #include <config.h>
 #include <libanjuta/anjuta-debug.h>
 #include <libanjuta/gbf-project.h>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]