empty buf first

SVN revision: 19827
This commit is contained in:
Carsten Haitzler 2006-01-15 10:37:03 +00:00
parent 4a56b2ee6e
commit 3a301b885b
1 changed files with 3 additions and 0 deletions

View File

@ -347,6 +347,7 @@ evas_common_image_store(RGBA_Image *im)
if (im->info.key) l2 = strlen(im->info.key);
// snprintf(buf, sizeof(buf), "%llx", im->timestamp);
// l3 = strlen(buf);
buf[0] = 0;
l3 = 0;
key = alloca(l1 + 5 + l2 + 5 + l3 +1);
key[0] = 0;
@ -378,6 +379,7 @@ evas_common_image_unstore(RGBA_Image *im)
if (im->info.key) l2 = strlen(im->info.key);
// snprintf(buf, sizeof(buf), "%llx", im->timestamp);
// l3 = strlen(buf);
buf[0] = 0;
l3 = 0;
key = alloca(l1 + 5 + l2 + 5 + l3 +1);
key[0] = 0;
@ -413,6 +415,7 @@ evas_common_image_find(const char *filename, const char *key, DATA64 timestamp)
if (key) l2 = strlen(key);
// snprintf(buf, sizeof(buf), "%llx", timestamp);
// l3 = strlen(buf);
buf[0] = 0;
l3 = 0;
str = alloca(l1 + 5 + l2 + 5 + l3 +1);
str[0] = 0;