comply with coding standard

This commit is contained in:
Sukchan Lee 2021-07-08 15:00:59 +09:00
parent f278d58a69
commit 2471b1b53d
562 changed files with 3332 additions and 3332 deletions

View file

@ -162,7 +162,7 @@ OpenAPI_media_sub_component_t *OpenAPI_media_sub_component_parseFromJSON(cJSON *
goto end;
}
af_sig_protocolVariable = OpenAPI_af_sig_protocol_FromString(af_sig_protocol->valuestring);
}
}
cJSON *ethf_descs = cJSON_GetObjectItemCaseSensitive(media_sub_componentJSON, "ethfDescs");
@ -185,7 +185,7 @@ OpenAPI_media_sub_component_t *OpenAPI_media_sub_component_parseFromJSON(cJSON *
OpenAPI_list_add(ethf_descsList, ethf_descsItem);
}
}
}
cJSON *f_num = cJSON_GetObjectItemCaseSensitive(media_sub_componentJSON, "fNum");
if (!f_num) {
@ -217,7 +217,7 @@ OpenAPI_media_sub_component_t *OpenAPI_media_sub_component_parseFromJSON(cJSON *
}
OpenAPI_list_add(f_descsList , ogs_strdup_or_assert(f_descs_local->valuestring));
}
}
}
cJSON *f_status = cJSON_GetObjectItemCaseSensitive(media_sub_componentJSON, "fStatus");
@ -228,7 +228,7 @@ OpenAPI_media_sub_component_t *OpenAPI_media_sub_component_parseFromJSON(cJSON *
goto end;
}
f_statusVariable = OpenAPI_flow_status_FromString(f_status->valuestring);
}
}
cJSON *mar_bw_dl = cJSON_GetObjectItemCaseSensitive(media_sub_componentJSON, "marBwDl");
@ -237,7 +237,7 @@ OpenAPI_media_sub_component_t *OpenAPI_media_sub_component_parseFromJSON(cJSON *
ogs_error("OpenAPI_media_sub_component_parseFromJSON() failed [mar_bw_dl]");
goto end;
}
}
}
cJSON *mar_bw_ul = cJSON_GetObjectItemCaseSensitive(media_sub_componentJSON, "marBwUl");
@ -246,7 +246,7 @@ OpenAPI_media_sub_component_t *OpenAPI_media_sub_component_parseFromJSON(cJSON *
ogs_error("OpenAPI_media_sub_component_parseFromJSON() failed [mar_bw_ul]");
goto end;
}
}
}
cJSON *tos_tr_cl = cJSON_GetObjectItemCaseSensitive(media_sub_componentJSON, "tosTrCl");
@ -255,7 +255,7 @@ OpenAPI_media_sub_component_t *OpenAPI_media_sub_component_parseFromJSON(cJSON *
ogs_error("OpenAPI_media_sub_component_parseFromJSON() failed [tos_tr_cl]");
goto end;
}
}
}
cJSON *flow_usage = cJSON_GetObjectItemCaseSensitive(media_sub_componentJSON, "flowUsage");
@ -266,7 +266,7 @@ OpenAPI_media_sub_component_t *OpenAPI_media_sub_component_parseFromJSON(cJSON *
goto end;
}
flow_usageVariable = OpenAPI_flow_usage_FromString(flow_usage->valuestring);
}
}
media_sub_component_local_var = OpenAPI_media_sub_component_create (
af_sig_protocol ? af_sig_protocolVariable : 0,