[Rpm-maint] [rpm-software-management/rpm] Fix regression from commit 165330b7bf0757e30fa8a6de9998a564fb62796f (#1545)
Panu Matilainen
notifications at github.com
Thu Feb 18 09:26:52 UTC 2021
With the changed logic, the if-clause can fall through without ever
initializing s. The exit code condition is getting more complicated
now so move it to helper variable, assume failure for a safe default.
Fixes: 165330b7bf0757e30fa8a6de9998a564fb62796f
You can view, comment on, or merge this pull request online at:
https://github.com/rpm-software-management/rpm/pull/1545
-- Commit Summary --
* Fix regression from commit 165330b7bf0757e30fa8a6de9998a564fb62796f
-- File Changes --
M lib/header.c (9)
-- Patch Links --
https://github.com/rpm-software-management/rpm/pull/1545.patch
https://github.com/rpm-software-management/rpm/pull/1545.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1545
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20210218/14ee9b15/attachment.html>
More information about the Rpm-maint
mailing list