clang warnings
This commit is contained in:
parent
7fb452f96e
commit
a87e9cb246
9 changed files with 11 additions and 11 deletions
|
|
@ -355,7 +355,7 @@ api_restconf(clicon_handle h,
|
|||
// retval = restconf_unsupported_media(r);
|
||||
// goto done;
|
||||
}
|
||||
else if ((media_out = restconf_media_str2int(media_str)) == -1){
|
||||
else if ((int)(media_out = restconf_media_str2int(media_str)) == -1){
|
||||
if (strcmp(media_str, "*/*") == 0) /* catch-all */
|
||||
media_out = YANG_DATA_JSON;
|
||||
else{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue