aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Amadeusz Żołnowski <aidecoe@aidecoe.name>2011-11-25 16:34:47 +0100
committerGravatar David Bremner <bremner@debian.org>2011-11-26 09:20:47 -0800
commit071456e5e6c513e99e2f2d7b770c760de92f681f (patch)
tree95a5c9125b90e6857d979242b39f239251209928 /test
parentcb9af12a4fa84a86624a04d4eb07efeceeecd02a (diff)
Fix warnings for test/symbol-test.cc.
Diffstat (limited to 'test')
-rw-r--r--test/symbol-test.cc5
1 files changed, 2 insertions, 3 deletions
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 <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{