diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2025-02-07 01:58:00 +0100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2025-02-07 10:35:46 +0100 |
commit | b7b70ba24369891d79079d247f246c1e357948d2 (patch) | |
tree | 47eac27610bce6ea923f63c779f7e094177c54ea /util.c | |
parent | 0f009ea598707c5978846387d716f4a612d07b36 (diff) | |
download | passt-b7b70ba24369891d79079d247f246c1e357948d2.tar passt-b7b70ba24369891d79079d247f246c1e357948d2.tar.gz passt-b7b70ba24369891d79079d247f246c1e357948d2.tar.bz2 passt-b7b70ba24369891d79079d247f246c1e357948d2.tar.lz passt-b7b70ba24369891d79079d247f246c1e357948d2.tar.xz passt-b7b70ba24369891d79079d247f246c1e357948d2.tar.zst passt-b7b70ba24369891d79079d247f246c1e357948d2.zip |
passt-repair: Dodge "structurally unreachable code" warning from Coverity
While main() conventionally returns int, and we need a return at the
end of the function to avoid compiler warnings, turning that return
into _exit() to avoid exit handlers triggers a Coverity warning. It's
unreachable code anyway, so switch that single occurence back to a
plain return.
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'util.c')
0 files changed, 0 insertions, 0 deletions