2009/1/2  <[email protected]>:
> Revision: 1101
> Author:   alonbl
> Date:     2009-01-02 10:00:55 +0000 (Fri, 02 Jan 2009)
>
> Log Message:
> -----------
> eToken now supports the new event interface
>
> Modified Paths:
> --------------
>    branches/alonbl/usb-ccid-reduce-busy/src/ifd/ifd-etoken.c
>    branches/alonbl/usb-ccid-reduce-busy/src/ifd/ifd-etoken64.c
> Modified: branches/alonbl/usb-ccid-reduce-busy/src/ifd/ifd-etoken.c
> ===================================================================
> --- branches/alonbl/usb-ccid-reduce-busy/src/ifd/ifd-etoken.c   2009-01-02 
> 10:00:24 UTC (rev 1100)
> +++ branches/alonbl/usb-ccid-reduce-busy/src/ifd/ifd-etoken.c   2009-01-02 
> 10:00:55 UTC (rev 1101)
> @@ -145,6 +145,31 @@
>                               buffer, len, timeout);
>  }
>
> +static int et_get_eventfd(ifd_reader_t * reader)
> +{
> +       ifd_debug(1, "called.");
> +
> +       return ifd_usb_get_eventfd(reader->device);
> +}
> +
> +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.

> +
> +       ifd_debug(1, "called.");
> +}

Warning: control reaches end of non-void function.

But I have no idea what value to return.

Regards,

-- 
 Dr. Ludovic Rousseau
_______________________________________________
opensc-devel mailing list
[email protected]
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to