SF.net SVN: geany:[5614] trunk/src/document.c

ntrel at users.sourceforge.net ntrel at xxxxx
Tue Mar 22 17:03:05 UTC 2011


Revision: 5614
          http://geany.svn.sourceforge.net/geany/?rev=5614&view=rev
Author:   ntrel
Date:     2011-03-22 17:03:04 +0000 (Tue, 22 Mar 2011)

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

document.c: In function ?\226?\128?\152apply_forced_indent_settings?\226?\128?\153:
document.c:1008: warning: enumeration value ?\226?\128?\152GEANY_FILETYPES_NONE?\226?\128?\153 not handled in switch
...

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

Modified: trunk/src/document.c
===================================================================
--- trunk/src/document.c	2011-03-21 21:38:20 UTC (rev 5613)
+++ trunk/src/document.c	2011-03-22 17:03:04 UTC (rev 5614)
@@ -1015,9 +1015,9 @@
 			/* force using spaces for indentation for Fortran 77 */
 			editor_set_indent(doc->editor, GEANY_INDENT_TYPE_SPACES, iprefs->width);
 			return TRUE;
+		default:
+			return FALSE;
 	}
-
-	return FALSE;
 }
 
 


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