reformatting: cJSON_InitHooks

This commit is contained in:
Max Bruckner committed 2016-10-02 19:01:25 +07:00
1 parent 18081c03c4
commit 8db7e6d320
1 file changed
+3 -1
+3 -1
View File
@@ -81,7 +81,9 @@ static char* cJSON_strdup(const char* str)
void cJSON_InitHooks(cJSON_Hooks* hooks)
{
if (!hooks) { /* Reset hooks */
if (!hooks)
{
/* Reset hooks */
cJSON_malloc = malloc;
cJSON_free = free;
return;