[Rpm-maint] [rpm-software-management/rpm] Fix compiler error on clang (PR #2436)
Panu Matilainen
notifications at github.com
Fri Mar 17 07:41:22 UTC 2023
I didn't understand this commit message at all. I too far prefer this patch, but the original message from #2434 explains it better: "In C, a label should be followed by a statement, not a declaration."
That said, I find this a bit surprising. C99 is quite liberal in where you can declare variables.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2436#issuecomment-1473304628
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/2436/c1473304628 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20230317/c389c159/attachment.html>
More information about the Rpm-maint
mailing list