]> git.puffer.fish Git - mirror/frr.git/commit
lib: Fix elf_py.c for coverity 13417/head
authorDonald Sharp <sharpd@nvidia.com>
Tue, 2 May 2023 13:25:04 +0000 (09:25 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Mon, 24 Jul 2023 17:31:37 +0000 (13:31 -0400)
commit0b74cd002c8252746f6f0296d586115cc287ab7e
treeab65dca04ee29a18ce7350fae8a4f602d5526e70
parent9e32b73634a8bbe893f2425ee89ee27651d93408
lib: Fix elf_py.c for coverity

David rightly pointed out that having a test for fd > 0 would
technically not be right, but not wrong for this portion of the
code since we know that we would never get a fd = 0 in this section.
In any event let's make coverity happy and move on with our life.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
lib/elf_py.c