Sorry for the earlier version, which had not been tested properly.
hopefully this one makes more sense.

This patch allows the build to proceed cleanly when using
-Wunused-but-set-variable
---
 src/nsEnigMsgCompose.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/nsEnigMsgCompose.cpp b/src/nsEnigMsgCompose.cpp
index 2bc3f7a..bd4928a 100644
--- a/src/nsEnigMsgCompose.cpp
+++ b/src/nsEnigMsgCompose.cpp
@@ -77,10 +77,9 @@ nsEnigMsgCompose::nsEnigMsgCompose()
 
 nsEnigMsgCompose::~nsEnigMsgCompose()
 {
-  nsresult rv;
 #ifdef FORCE_PR_LOG
   nsCOMPtr<nsIThread> myThread;
-  rv = ENIG_GET_THREAD(myThread);
+  ENIG_GET_THREAD(myThread);
   DEBUG_LOG(("nsEnigMsgCompose:: >>>>>>>>> DTOR(%p): myThread=%p\n",
          this, myThread.get()));
 #endif
-- 
1.8.4.2


_______________________________________________
enigmail-users mailing list
enigmail-users@enigmail.net
https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net

Reply via email to