Fix warnings for test/symbol-test.cc.
authorAmadeusz Żołnowski <aidecoe@aidecoe.name>
Fri, 25 Nov 2011 15:34:47 +0000 (16:34 +0100)
committerDavid Bremner <bremner@debian.org>
Sat, 26 Nov 2011 17:20:47 +0000 (09:20 -0800)
test/symbol-test.cc

index 1de06eae41032f0c0d5b05c840f3942cfff043da..ec250b2de34aa3aa12663430ed87b194ca1f32f6 100644 (file)
@@ -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{