[PATCH 2/3] Fix warnings for test/symbol-test.cc.
Amadeusz Żołnowski
aidecoe at aidecoe.name
Fri Nov 25 07:34:47 PST 2011
---
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
More information about the notmuch
mailing list