so the starting from the conditional is useless, because after that you
perform a memory allocation, that is dead code.


On Mon, Mar 10, 2014 at 12:43 PM, kaspersky <notifications@github.com>wrote:

> In src/mk_lib.c:
>
> >
> >      if (lst) {
> > -        for (i = 0; i < total; i++) {
> > +        for (i = 0; i < n_mime_items; i++) {
>
> lst and n_mime_items are declared static. The decision that these
> variables would persist between function calls was taken by the previous
> developer.
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/monkey/monkey/pull/109/files#r10443785>
> .
>



-- 
Eduardo Silva
http://edsiper.linuxchile.cl
http://monkey-project.com