--- test/symbol-test.cc | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/test/symbol-test.cc b/test/symbol-test.cc index 1de06ea..ec250b2 100644 --- a/test/symbol-test.cc +++ b/test/symbol-test.cc @@ -1,10 +1,9 @@ #include <stdio.h> #include <xapian.h> #include <notmuch.h> -main (int argc, char **argv){ +int main (){ - notmuch_database_t *notmuch - = notmuch_database_open ("fakedb", + (void)notmuch_database_open ("fakedb", NOTMUCH_DATABASE_MODE_READ_ONLY); try{ -- 1.7.8.rc3