Fixed some warnings reported by clang.

This commit is contained in:
Juan RP
2014-04-20 10:02:54 +02:00
parent ada3483acc
commit dacbb2f22f
8 changed files with 23 additions and 14 deletions

View File

@@ -275,7 +275,7 @@ rcv_load_file(rcv_t *rcv, const char *fname)
static char *
rcv_refs(rcv_t *rcv, const char *s, size_t len)
{
map_item_t item = map_new_item();
map_item_t item;
size_t i = 0, j = 0, k = 0, count = len*3;
char *ref = calloc(count, sizeof(char));
char *buf = calloc(count, sizeof(char));