[Rpm-maint] [rpm-software-management/rpm] Fix compiler error on clang (PR #2436)
Florian Festi
notifications at github.com
Thu Mar 16 18:12:42 UTC 2023
Turns out declarations cannot be labeled according to the C standard. And while some compilers don't seem to care others do.
Moving the declaration of mayopen to the start of the function to avoid this problem.
Resolves: #2435
You can view, comment on, or merge this pull request online at:
https://github.com/rpm-software-management/rpm/pull/2436
-- Commit Summary --
* Fix compiler error on clang
-- File Changes --
M lib/fsm.c (3)
-- Patch Links --
https://github.com/rpm-software-management/rpm/pull/2436.patch
https://github.com/rpm-software-management/rpm/pull/2436.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2436
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/2436 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20230316/a55c251d/attachment.html>
More information about the Rpm-maint
mailing list