2009/12/14 Simon Josefsson <simon_at_josefsson.org>:
> Daniel Stenberg <daniel_at_haxx.se> writes:
>
>> On Mon, 14 Dec 2009, Simon Josefsson wrote:
>>
>> To do it _really_ portable, I figure we should use a macro as
>> UNUSED(enc) and then we let preprocessor magic decide the best way for
>> the particular compiler used.
>
> Assuming that is even possible -- I could imagine some compilers will
> want the change in the prototype, some in the function body, some in the
> function definition, and so on...
Are we perhaps overthinking this? :-P
That said, I thought the accepted way to deal with unreferenced
parameters was to comment them out.
Alex
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2009-12-14