- Fixed compiler warning

This commit is contained in:
Paul Bakker 2011-07-13 14:53:58 +00:00
parent eaf90d9a9c
commit 26b41a8370

View file

@ -10,7 +10,7 @@ struct buffer_data
void string_debug(void *data, int level, const char *str) void string_debug(void *data, int level, const char *str)
{ {
struct buffer_data *buffer = (struct buffer_data *) data; struct buffer_data *buffer = (struct buffer_data *) data;
level = 0; ((void) level);
memcpy(buffer->ptr, str, strlen(str)); memcpy(buffer->ptr, str, strlen(str));
buffer->ptr += strlen(str); buffer->ptr += strlen(str);