vala r812 - in trunk: . gee



Author: juergbi
Date: Wed Jan  9 15:36:48 2008
New Revision: 812
URL: http://svn.gnome.org/viewvc/vala?rev=812&view=rev

Log:
2008-01-09  Juerg Billeter  <j bitron ch>

	* gee/hashmap.vala: add return statements to silence C compiler


Modified:
   trunk/ChangeLog
   trunk/gee/hashmap.vala

Modified: trunk/gee/hashmap.vala
==============================================================================
--- trunk/gee/hashmap.vala	(original)
+++ trunk/gee/hashmap.vala	Wed Jan  9 15:36:48 2008
@@ -2,7 +2,7 @@
  *
  * Copyright (C) 1995-1997  Peter Mattis, Spencer Kimball and Josh MacDonald
  * Copyright (C) 1997-2000  GLib Team and others
- * Copyright (C) 2007  JÃrg Billeter
+ * Copyright (C) 2007-2008  JÃrg Billeter
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -271,6 +271,7 @@
 
 		public bool add (V value) {
 			assert_not_reached ();
+			return false;
 		}
 
 		public void clear () {
@@ -279,6 +280,7 @@
 
 		public bool remove (V value) {
 			assert_not_reached ();
+			return false;
 		}
 
 		public bool contains (V value) {



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