On Fri, May 18, 2012 at 7:05 AM, Eduardo Silva <[email protected]> wrote: > On Fri, May 18, 2012 at 6:49 AM, Lauri Kasanen <[email protected]> wrote: >> On Fri, 18 May 2012 06:47:24 -0600 >> Eduardo Silva <[email protected]> wrote: >> >>> ideas to fix these warnings ? >>> base64.c: In function ‘base64_decode’: >>> base64.c:108:22: warning: variable ‘olen’ set but not used >>> [-Wunused-but-set-variable] >>> loop.c: In function ‘mk_cheetah_loop_stdin’: >>> loop.c:40:11: warning: variable ‘rcmd’ set but not used >>> [-Wunused-but-set-variable] >> >> Unused variables, safe to remove :) > > if you look at the code they are used. > >> >> - Lauri > > > > -- > Eduardo Silva > http://edsiper.linuxchile.cl > http://www.monkey-project.com
the rcmd is already fixed, my question is: in plugins/auth/base64.c in the decode function olen is set but not used, now if we look to the similar routine in the encoder function its used for the memory allocation, but in decode the memory allocation uses a different variable, not sure if it could be a bug... -- Eduardo Silva http://edsiper.linuxchile.cl http://www.monkey-project.com _______________________________________________ Monkey mailing list [email protected] http://lists.monkey-project.com/listinfo/monkey
