SF.net SVN: geany: [1712] trunk/src

eht16 at users.sourceforge.net eht16 at xxxxx
Tue Jul 17 08:39:17 UTC 2007


Revision: 1712
          http://svn.sourceforge.net/geany/?rev=1712&view=rev
Author:   eht16
Date:     2007-07-17 01:39:17 -0700 (Tue, 17 Jul 2007)

Log Message:
-----------
Fix compiler warnings.

Modified Paths:
--------------
    trunk/src/editor.c
    trunk/src/filetypes.c

Modified: trunk/src/editor.c
===================================================================
--- trunk/src/editor.c	2007-07-17 08:21:19 UTC (rev 1711)
+++ trunk/src/editor.c	2007-07-17 08:39:17 UTC (rev 1712)
@@ -1530,7 +1530,6 @@
 			// use single line comment
 			if (cc == NULL || strlen(cc) == 0)
 			{
-				guint j;
 				gsize tm_len = strlen(GEANY_TOGGLE_MARK);
 
 				single_line = TRUE;

Modified: trunk/src/filetypes.c
===================================================================
--- trunk/src/filetypes.c	2007-07-17 08:21:19 UTC (rev 1711)
+++ trunk/src/filetypes.c	2007-07-17 08:39:17 UTC (rev 1712)
@@ -545,7 +545,7 @@
 {
 	filetype_id ft_id;
 	GtkWidget *filetype_menu = lookup_widget(app->window, "set_filetype1_menu");
-	GtkWidget *sub_menu;
+	GtkWidget *sub_menu = filetype_menu;
 	GtkWidget *sub_menu_programming, *sub_menu_scripts, *sub_menu_markup, *sub_menu_misc;
 	GtkWidget *sub_item_programming, *sub_item_scripts, *sub_item_markup, *sub_item_misc;
 


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