On 08/10/2011 01:35 AM, Sam Hartman wrote:
> Here are my proposed fixes to these warnings; thanks for the patch:
>
> commit 8fd703788fde8e0e769b5f49f16ead208a0b1fc5
> Author: Sam Hartman <[log in to unmask]>
> Date: Tue Aug 9 19:31:58 2011 -0400
>
> Avoid setting unused variables
>
> * Ignore toktype2 in stream unwrap: we do not need it
> * Catch errors from eap peer state machine
>
> * Check error return from vasprintf: string is undefined on error
>
Tested-By: Hauke Mehrtens <[log in to unmask]>
Thank you for the patch. It is better to fix these warnings than just
ignore them. ;-) It worked for me and it now compiles on my debian
testing with gcc 4.6. Could you please push this into the main git repo.
Hauke
|