From: Amadeusz Żołnowski Date: Fri, 25 Nov 2011 15:34:47 +0000 (+0100) Subject: Fix warnings for test/symbol-test.cc. X-Git-Tag: 0.11_rc1~99 X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=071456e5e6c513e99e2f2d7b770c760de92f681f;p=notmuch Fix warnings for test/symbol-test.cc. --- diff --git a/test/symbol-test.cc b/test/symbol-test.cc index 1de06eae..ec250b2d 100644 --- a/test/symbol-test.cc +++ b/test/symbol-test.cc @@ -1,10 +1,9 @@ #include #include #include -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{