Reacted on -Wextra -Wno-unused-parameter warnings of gcc for buffer.c

This commit is contained in:
Thomas Schmitt 2011-05-21 23:08:53 +02:00
parent c794a48a06
commit 99f037e210

View File

@ -150,7 +150,7 @@ void iso_ring_buffer_free(IsoRingBuffer *buf)
int iso_ring_buffer_write(IsoRingBuffer *buf, uint8_t *data, size_t count)
{
size_t len;
int bytes_write = 0;
size_t bytes_write = 0;
if (buf == NULL || data == NULL) {
return ISO_NULL_POINTER;
@ -206,7 +206,7 @@ int iso_ring_buffer_write(IsoRingBuffer *buf, uint8_t *data, size_t count)
int iso_ring_buffer_read(IsoRingBuffer *buf, uint8_t *dest, size_t count)
{
size_t len;
int bytes_read = 0;
size_t bytes_read = 0;
if (buf == NULL || dest == NULL) {
return ISO_NULL_POINTER;