Appease clang.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4103 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
parent
a66a70324d
commit
8ed359327c
@ -1024,7 +1024,7 @@ static following_t* _get_following(tf_ssb_t* ssb, const char* id, following_t***
|
|||||||
entry = tf_malloc(sizeof(following_t));
|
entry = tf_malloc(sizeof(following_t));
|
||||||
(*following)[index] = entry;
|
(*following)[index] = entry;
|
||||||
(*following_count)++;
|
(*following_count)++;
|
||||||
*entry = (following_t) { 0 };
|
memset(entry, 0, sizeof(*entry));
|
||||||
snprintf(entry->id, sizeof(entry->id), "%s", id);
|
snprintf(entry->id, sizeof(entry->id), "%s", id);
|
||||||
entry->depth = depth;
|
entry->depth = depth;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user