Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:23
erlang
0432-erts-Silence-CodeChecker-in-terminate_port...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0432-erts-Silence-CodeChecker-in-terminate_port.patch of Package erlang
From 1dd757d12cefa69f0a1496cc3c9614a761d167ba Mon Sep 17 00:00:00 2001 From: Sverker Eriksson <sverker@erlang.org> Date: Thu, 11 Feb 2021 12:29:08 +0100 Subject: [PATCH 32/34] erts: Silence CodeChecker in terminate_port --- erts/emulator/beam/io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erts/emulator/beam/io.c b/erts/emulator/beam/io.c index 1468e35449..b77553912d 100644 --- a/erts/emulator/beam/io.c +++ b/erts/emulator/beam/io.c @@ -3601,7 +3601,7 @@ terminate_port(Port *prt) erts_cancel_port_timer(prt); drv = prt->drv_ptr; - if ((drv != NULL) && (drv->stop != NULL)) { + if (drv->stop != NULL) { int fpe_was_unmasked = erts_block_fpe(); ERTS_MSACC_PUSH_AND_SET_STATE_M(ERTS_MSACC_STATE_PORT); #ifdef USE_VM_PROBES -- 2.26.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor