[Rpm-maint] [rpm-software-management/rpm] Fixup few issues found by PVS (#1054)

Igor Gnatenko notifications at github.com
Thu Feb 6 10:14:26 UTC 2020


build/files.c:
* Expression 'rc == 0' is always true.
* The 'path' variable is assigned but is not used by the end of the function.

build/parsePreamble.c:
* The 'argv' variable is assigned but is not used by the end of the function.

tools/rpmgraph.c:
* The 'argv' variable is assigned but is not used by the end of the function.

build/rpmfc.c:
* Expression 'dm->msg' is always true.

Signed-off-by: Igor Raits <i.gnatenko.brain at gmail.com>
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/1054

-- Commit Summary --

  * Fixup few issues found by PVS

-- File Changes --

    M build/files.c (189)
    M build/parsePreamble.c (2)
    M build/rpmfc.c (2)
    M tools/rpmgraph.c (2)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/1054.patch
https://github.com/rpm-software-management/rpm/pull/1054.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/1054
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200206/5cb75190/attachment-0001.html>


More information about the Rpm-maint mailing list