summaryrefslogtreecommitdiff
path: root/gee
diff options
context:
space:
mode:
authorJuerg Billeter <j@bitron.ch>2008-01-09 15:36:48 +0000
committerJürg Billeter <juergbi@src.gnome.org>2008-01-09 15:36:48 +0000
commitf621684d43c464416d2991a61b8a7142a50ba55a (patch)
treefae8421e63f9bf17ba41b48b35189da40b6208a9 /gee
parenta789bab16e7c78613817203a15e7909b183c5f57 (diff)
downloadvala-f621684d43c464416d2991a61b8a7142a50ba55a.tar.gz
add return statements to silence C compiler
2008-01-09 Juerg Billeter <j@bitron.ch> * gee/hashmap.vala: add return statements to silence C compiler svn path=/trunk/; revision=812
Diffstat (limited to 'gee')
-rw-r--r--gee/hashmap.vala4
1 files changed, 3 insertions, 1 deletions
diff --git a/gee/hashmap.vala b/gee/hashmap.vala
index c6b337736..df20d630b 100644
--- a/gee/hashmap.vala
+++ b/gee/hashmap.vala
@@ -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 class Gee.HashMap<K,V> : Object, Map<K,V> {
public bool add (V value) {
assert_not_reached ();
+ return false;
}
public void clear () {
@@ -279,6 +280,7 @@ public class Gee.HashMap<K,V> : Object, Map<K,V> {
public bool remove (V value) {
assert_not_reached ();
+ return false;
}
public bool contains (V value) {