summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSeif Lotfy <seif@lotfy.com>2012-11-11 23:33:12 +0100
committerSeif Lotfy <seif@lotfy.com>2012-11-11 23:33:12 +0100
commitfe705dc0a7f93e2362e61354e0e347af0037b24f (patch)
tree1f9c50686f57ed477c0daf2ba6f3c4e5cb1f746f /src
parente0c8dde5e3fb1f19e482198f58295dc52382e102 (diff)
downloadzeitgeist-fe705dc0a7f93e2362e61354e0e347af0037b24f.tar.gz
Reduced warnings
Diffstat (limited to 'src')
-rw-r--r--src/engine.vala2
-rw-r--r--src/table-lookup.vala2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/engine.vala b/src/engine.vala
index 094c676b..8d7e1517 100644
--- a/src/engine.vala
+++ b/src/engine.vala
@@ -260,7 +260,7 @@ public class Engine : DbReader
}
private void bind_cached_reference (Sqlite.Statement stmt,
- int position, TableLookup table, string? value_)
+ int position, TableLookup table, string? value_) throws EngineError
{
if (value_ != null)
stmt.bind_int64 (position, table.id_for_string (value_));
diff --git a/src/table-lookup.vala b/src/table-lookup.vala
index 039e3414..b582b143 100644
--- a/src/table-lookup.vala
+++ b/src/table-lookup.vala
@@ -105,7 +105,7 @@ namespace Zeitgeist.SQLite
return id;
}
- public unowned string get_value (int id) throws EngineError
+ public unowned string? get_value (int id) throws EngineError
{
// When we fetch an event, it either was already in the database
// at the time Zeitgeist started or it was inserted later -using