fixed compiler warnings

This commit is contained in:
Frank Morgner
2016-11-08 14:07:01 +01:00
parent 7fe438f98d
commit 77eb263212
3 changed files with 3 additions and 1 deletions

View File

@@ -38,7 +38,7 @@ int sc_mutex_unlock(const sc_context_t *ctx, void *mutex) {}
#if !defined(HAVE_SC_APDU_GET_OCTETS) || !defined(HAVE_SC_APDU_SET_RESP)
#ifdef HAVE__SC_MATCH_ATR
size_t sc_get_max_send_size(const sc_card_t *card) {}
size_t sc_get_max_send_size(const sc_card_t *card) {return 0;}
#endif
#include "libopensc/apdu.c"
#endif