[PATCH 2/3] Fix warnings for test/symbol-test.cc.

Subject: [PATCH 2/3] Fix warnings for test/symbol-test.cc.

Date: Fri, 25 Nov 2011 16:34:47 +0100

To: notmuch@notmuchmail.org

Cc: Amadeusz Żołnowski

From: Amadeusz Żołnowski


---
 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


Thread: