From nobody Wed Jan 19 00:46:13 2022 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E58791961529; Wed, 19 Jan 2022 00:46:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Jdn5165MWz4q9l; Wed, 19 Jan 2022 00:46:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642553173; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=3cv7mdfnn8eRKTAtQ7WFyYy/U1/fnUTdPCevev+NKYY=; b=k4F+V82VcQORzmtFTSyATYdgWzNotjizXGH7voxOzK+LtVCrmluxAtpGlxIGUbDYIyqbHA tJ8XEkhR4427VMphyWMUCtw/EhBJs49LAqHlhrKIZEq+2WXGY+HFderrX9ui2aalDPwnvt lF+I0WOlo9VlNUlFNJidvelOlPwB6ZXvU8XyhmUuSY+sQxl1baA9zWkcPf/0haFnHRhOKo yQXWpOR1tLg+dUxyhWJ/HEGGoaDCYCsgaIKnxHP/1WAiS7vSG5omEgMvNUXkHThy8kwwin 4c5ldGNhgleCTjBH3AFSHo+YzWDnKh5bycFhq5+F9HYtNxyQfxUBtUXtlWj6sg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id AD3742EE6; Wed, 19 Jan 2022 00:46:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 20J0kD29016089; Wed, 19 Jan 2022 00:46:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20J0kD24016088; Wed, 19 Jan 2022 00:46:13 GMT (envelope-from git) Date: Wed, 19 Jan 2022 00:46:13 GMT Message-Id: <202201190046.20J0kD24016088@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: 7545bb2ba726 - stable/13 - truss: remove write-only variable List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 7545bb2ba726e6262d11b699ce88df90d9739d3d Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642553173; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=3cv7mdfnn8eRKTAtQ7WFyYy/U1/fnUTdPCevev+NKYY=; b=uhqtOBUmsEEiCuwZwHwilubevUAfJfR3lsDiE5q1XWLNFq8cfEdv/Z/ziqfp04gJYdNKpP GdHJtbBU7NdLFH85HiOKTQ4RHm/RHd2U5ngLztfSqvThKbiWiJhbEDsNvvlZzv8vZPjMJ+ v7iTvjxIV0K4LtrorsEl07Tw4Z4SUe1VxSU+8z3B2KDcSRVeoNDnEqeYBuPYczzGwLSfjg O/T66hknbj+CNNQshheQz/Gyzc/ReEtFrJUJ8fELvaTshs46lLAGSSlclTFuSbOkvoiO5K Xc0XHcG11WWN2pTs+5+Voyz/Nn9zg/W8blVvY3x9aJt/QPEp0Ydyg7z56GrqLw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642553173; a=rsa-sha256; cv=none; b=E8JVL4mDjMFyyfUUCKkQJ8x0USbt4oVr6NO4YgMzdgCllUeI9pqdugs22JP3D3pdztkRl0 hrLTl25OAsA4I5Wxet6MIEJWa2HA463VOZGfT8X/dl4VveT/S1zHjiMyAkD6C8XIbEB148 jdmlGlR2y5CrSp72QQYjRc6fcQabFA1gEM4hJiVorh2479V7eg3w5qW7MvsTY4XazNGPew qucM8AOl6VJ/G3srDh5jg3yarcDgbwFZuLwXeEidCG/tweyEJI9Nbdo2fsa2vOASXXvknF /bCONd6W9978maT/ETezBYphjpmoW9hZZdLs2X3fsbJC4AiRYOtmt2YuXyKcdw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=7545bb2ba726e6262d11b699ce88df90d9739d3d commit 7545bb2ba726e6262d11b699ce88df90d9739d3d Author: Konstantin Belousov AuthorDate: 2022-01-12 08:20:51 +0000 Commit: Konstantin Belousov CommitDate: 2022-01-19 00:46:08 +0000 truss: remove write-only variable (cherry picked from commit ba33c288488d4543d1a140cd5c44b8b3c4c29915) --- usr.bin/truss/syscalls.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/usr.bin/truss/syscalls.c b/usr.bin/truss/syscalls.c index 6740ab21ff2c..efabe1086932 100644 --- a/usr.bin/truss/syscalls.c +++ b/usr.bin/truss/syscalls.c @@ -2128,11 +2128,9 @@ print_arg(struct syscall_arg *sc, unsigned long *args, register_t *retval, fputs(strsig2(args[sc->offset]), fp); break; case Sigset: { - long sig; sigset_t ss; int i, first; - sig = args[sc->offset]; if (get_struct(pid, args[sc->offset], (void *)&ss, sizeof(ss)) == -1) { print_pointer(fp, args[sc->offset]);