> You don't need to test against NULL, and you can just assign like this, it
> always returns NULL for this very purpose: `optCon = poptFreeContext(optCon)`
Thank you for your review comments. The poptFreeContext function has no return
value, is the usage of `optCon = poptFreeContext(optCon)` reasonable?
poptFreeContext declares as follows:
`void poptFreeContext(poptContext con);`
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3301#issuecomment-2360409887
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/3301/c2360409...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint