Fix warnings for test/symbol-test.cc.

This commit is contained in:
Amadeusz Żołnowski 2011-11-25 16:34:47 +01:00 committed by David Bremner
parent cb9af12a4f
commit 071456e5e6

View file

@ -1,10 +1,9 @@
#include <stdio.h> #include <stdio.h>
#include <xapian.h> #include <xapian.h>
#include <notmuch.h> #include <notmuch.h>
main (int argc, char **argv){ int main (){
notmuch_database_t *notmuch (void)notmuch_database_open ("fakedb",
= notmuch_database_open ("fakedb",
NOTMUCH_DATABASE_MODE_READ_ONLY); NOTMUCH_DATABASE_MODE_READ_ONLY);
try{ try{