From: Roger Dingledine Date: Mon, 14 Aug 2006 09:44:54 +0000 (+0000) Subject: note a compile warning that we should investigate one day. X-Git-Tag: tor-0.1.2.1-alpha~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b94dabb53cd07a0835289e24a66450cf2d165f9;p=thirdparty%2Ftor.git note a compile warning that we should investigate one day. svn:r7052 --- diff --git a/src/common/crypto.c b/src/common/crypto.c index bc1ca6945e..6767b637dc 100644 --- a/src/common/crypto.c +++ b/src/common/crypto.c @@ -504,6 +504,11 @@ crypto_pk_write_public_key_to_string(crypto_pk_env_t *env, char **dest, 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);