Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:23
erlang
1132-Remove-unused-variable.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 1132-Remove-unused-variable.patch of Package erlang
From 77e7dc83fc2ba4212db1e97a8f33c3fa301bbe59 Mon Sep 17 00:00:00 2001 From: Raimo Niskanen <raimo@erlang.org> Date: Wed, 7 Dec 2022 11:30:03 +0100 Subject: [PATCH] Remove unused variable --- erts/etc/common/inet_gethost.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/erts/etc/common/inet_gethost.c b/erts/etc/common/inet_gethost.c index af313e4185..422384c179 100644 --- a/erts/etc/common/inet_gethost.c +++ b/erts/etc/common/inet_gethost.c @@ -1,7 +1,7 @@ /* * %CopyrightBegin% * - * Copyright Ericsson AB 1998-2021. All Rights Reserved. + * Copyright Ericsson AB 1998-2022. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -1754,12 +1754,11 @@ static int worker_loop(void) /* Decode the request... */ serial = get_serial(req); if (OP_CONTROL == (op = get_op(req))) { - CtlType ctl; if (serial != INVALID_SERIAL) { DEBUGF(1, ("Worker got invalid serial: %d.", serial)); exit(0); } - switch (ctl = get_ctl(req)) { + switch (get_ctl(req)) { case SETOPT_DEBUG_LEVEL: debug_level = get_debug_level(req); DEBUGF(debug_level, -- 2.35.3
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