Skip to content

Commit

Permalink
Avoid warning on ARM64 when compiled with Clang 7:
Browse files Browse the repository at this point in the history
rest_methods.c:575:21: error: result of comparison of constant -3 with expression of type 'char' is always true [-Werror,-Wtautological-constant-out-of-range-compare]
  • Loading branch information
sobomax committed Oct 17, 2020
1 parent 7330ce0 commit 08617f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/rest_client/rest_methods.c
Expand Up @@ -518,7 +518,7 @@ int rest_sync_transfer(enum rest_client_method method, struct sip_msg *msg,
/* in */ char *url, str *body, str *ctype,
/* out */ pv_spec_p body_pv, pv_spec_p ctype_pv, pv_spec_p code_pv)
{
char ret;
int ret;
CURLcode rc;
long http_rc;
pv_value_t pv_val;
Expand Down

0 comments on commit 08617f2

Please sign in to comment.