Return value initialize

FossilOrigin-Name: 2370a2c5da12fb21e7a3987df75ae55099a45e5e66cadd9a622c7d30a5ac6c3b
This commit is contained in:
me@ow.nekobit.net 2022-02-11 03:10:53 +00:00
parent 47bf9de602
commit 947f86ef23
2 changed files with 2 additions and 2 deletions

View file

@ -25,7 +25,7 @@ int mastodont_account(mastodont_t* data,
struct mstdnt_storage* storage,
size_t* size)
{
int res;
int res = 0;
cJSON* root;
char url[MSTDNT_URLSIZE];
struct mstdnt_fetch_results results = { 0 };

View file

@ -24,7 +24,7 @@ int mastodont_timeline_public(mastodont_t* data,
struct mstdnt_status* statuses[],
size_t* size)
{
int res;
int res = 0;
cJSON* root, *status_j_list;
size_t i = 0;
struct mstdnt_fetch_results results = { 0 };