On 1/20/09, Ludovic Rousseau <ludovic.rouss...@gmail.com> wrote:
>  > +static int et_event(ifd_reader_t * reader, int *status, size_t 
> status_size)
>  > +{
>  > +       (void)reader;
>  > +       (void)status;
>  > +       (void)status_size;
>
>  What is the code above supposed to do?
>  It just looks like void code for me.

It removes the warning of unused argument... this way you explicit say
"I don't I don't use this".

>  > +
>  > +       ifd_debug(1, "called.");
>  > +}
>
>  Warning: control reaches end of non-void function.
>
>  But I have no idea what value to return.

Fixed.
Thanks!

Alon.
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to