Subject: Re: Warnings during building

Re: Warnings during building

From: Simon Josefsson <simon_at_josefsson.org>
Date: Wed, 16 Dec 2009 00:41:33 +0100

Peter Stuge <peter_at_stuge.se> writes:

> Simon Josefsson wrote:
>> Any solution that solves the problem is welcome. Right now we have
>> one concrete suggestion: to mark the unused variables with (void)
>> in the function body.
>
> How about remove all unused parameters?

I don't think that is possible, the function prototype for
openssl.c:aes_ctr_init is dictated by OpenSSL headers.

I did remove the other unused parameter though, so if that is possible
it is always the best solution. But there are situations like the above
when it is not really feasible.

/Simon
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2009-12-16