Clean false positive in newer GCC version checking guard of else clause
Got this today with newer gcc (11.1.0) after system upgrade: egprs_rlc_compression.cpp:693:9: error: this ‘else’ clause does not guard... [-Werror=misleading-indentation] The indentation was indeed wrong, provoking a warning in GCC. From code flow point of view, however, the previous state was fine too, so no logical change is involved in this commit. Change-Id: I37bfc8e85daaabbbf10dfd907b305e3e0ec31863
This commit is contained in:
parent
c43570c351
commit
6e25119c18
|
@ -690,8 +690,7 @@ int egprs_compress::compress_rbb(
|
||||||
if (clen >= uclen)
|
if (clen >= uclen)
|
||||||
/* No Gain is observed, So no need to compress */
|
/* No Gain is observed, So no need to compress */
|
||||||
return 0;
|
return 0;
|
||||||
else
|
LOGP(DRLCMACUL, LOGL_DEBUG, "CRBB bitmap = %s\n", osmo_hexdump(crbb_vec->data, (crbb_vec->cur_bit+7)/8));
|
||||||
LOGP(DRLCMACUL, LOGL_DEBUG, "CRBB bitmap = %s\n", osmo_hexdump(crbb_vec->data, (crbb_vec->cur_bit+7)/8));
|
/* Add compressed bitmap to final buffer */
|
||||||
/* Add compressed bitmap to final buffer */
|
return 1;
|
||||||
return 1;
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue