[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r7052: note a compile warning that we should investigate one day. (tor/trunk/src/common)
- To: or-cvs@xxxxxxxxxxxxx
- Subject: [or-cvs] r7052: note a compile warning that we should investigate one day. (tor/trunk/src/common)
- From: arma@xxxxxxxx
- Date: Mon, 14 Aug 2006 05:44:54 -0400 (EDT)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Mon, 14 Aug 2006 05:45:02 -0400
- Reply-to: or-talk@xxxxxxxxxxxxx
- Sender: owner-or-cvs@xxxxxxxxxxxxx
Author: arma
Date: 2006-08-14 05:44:54 -0400 (Mon, 14 Aug 2006)
New Revision: 7052
Modified:
tor/trunk/src/common/crypto.c
Log:
note a compile warning that we should investigate one day.
Modified: tor/trunk/src/common/crypto.c
===================================================================
--- tor/trunk/src/common/crypto.c 2006-08-14 09:04:27 UTC (rev 7051)
+++ tor/trunk/src/common/crypto.c 2006-08-14 09:44:54 UTC (rev 7052)
@@ -504,6 +504,11 @@
BIO_get_mem_ptr(b, &buf);
BIO_set_close(b, BIO_NOCLOSE); /* so BIO_free doesn't free buf */
+ /* XXX The above line generates a warning on new gcc/openssls:
+ * crypto.c:506: warning: value computed is not used
+ * Perhaps in new openssls this is a more complex macro and
+ * we're no longer calling it quite right? -RD
+ */
BIO_free(b);
tor_assert(buf->length >= 0);