remove warnings

This commit is contained in:
Conor Patrick 2019-03-21 00:01:37 -04:00
parent 02e83073e0
commit d68011ef04
2 changed files with 4 additions and 4 deletions

View File

@ -635,9 +635,9 @@ uint8_t ctap_parse_extensions(CborValue * val, CTAP_extensions * ext)
{ {
CborValue map; CborValue map;
size_t sz, map_length; size_t sz, map_length;
uint8_t key[16]; char key[16];
uint8_t ret; int ret;
int i; unsigned int i;
bool b; bool b;
if (cbor_value_get_type(val) != CborMapType) if (cbor_value_get_type(val) != CborMapType)

View File

@ -39,7 +39,7 @@ int _write (int fd, const void *buf, unsigned long int len)
// logbuflen += len; // logbuflen += len;
// Send out USB serial // Send out USB serial
CDC_Transmit_FS(buf, len); CDC_Transmit_FS(data, len);
// if (res == USBD_OK) // if (res == USBD_OK)
// logbuflen = 0; // logbuflen = 0;
#endif #endif