Closed Elv13 closed 3 months ago
Failed conditions
E Reliability Rating on New Code (required ≥ A)
See analysis details on SonarCloud
Catch issues before they fail your Quality Gate with our IDE extension SonarLint
Thanks for the catch! but it's better to add {} surround the statements after the label or moving luaL_Buffer
declarations to the head of the block.
@Elv13 I think your issue should be fixed on master
now. :smile: Please post if there is still an issue.
Before:
Reason: https://stackoverflow.com/questions/18496282/why-do-i-get-a-label-can-only-be-part-of-a-statement-and-a-declaration-is-not-a
I assume other compilers are more permissive, but as it stands, commit 182575df130053b2097d3620896f223800bc2aa7 broke GCC support and the fuzzer tests. And yes, that patch is dumb, but it is what it is.