From nobody Wed Jan 12 18:04:47 2022 X-Original-To: dev-commits-src-all@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 52C86195A1DF; Wed, 12 Jan 2022 18:04:48 +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 4JYwSc0WjKz3jsk; Wed, 12 Jan 2022 18:04:48 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 E2E4E116EC; Wed, 12 Jan 2022 18:04:47 +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 20CI4l2L038673; Wed, 12 Jan 2022 18:04:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20CI4lk7038672; Wed, 12 Jan 2022 18:04:47 GMT (envelope-from git) Date: Wed, 12 Jan 2022 18:04:47 GMT Message-Id: <202201121804.20CI4lk7038672@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: ba33c288488d - main - truss: remove write-only variable List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@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/main X-Git-Reftype: branch X-Git-Commit: ba33c288488d4543d1a140cd5c44b8b3c4c29915 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642010688; 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=sHayeKHqo6eTwm7evarXpnFEUQENI39gAktioUGKA7A=; b=QPRLKYsSpDjnc92+oBtPtUUF+RnIvF/89P8UpPrZ3kcEOfdBKq1+UAmqjINOafmceKGAWK vhLDi357fv5yRoCQ3/1lyBO/D3WFTWQcbC/SmVc/mf1/WIgNYxO1hPh8p5fXHcnjKGzDDq ItvdR8BZfw52Q16oyA2tJ1VSM8oJjjZwji5lTj1FosKmSZlQv6EG3GqUbzuVh88152/4fu Jf73T0JMFbVLmepEuaghevHpOFfaWfEaUE4uc9ACC2rqjhbpZivswemXSpoXUw6V3fD45Z Sy7ebYPouTfAFt4GyeY/ugJ4xQGiEsgwJYv1qVVhvqay0ZzGfiVzOm5SYb8a5A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642010688; a=rsa-sha256; cv=none; b=hcpYp9kxuzLlYLx/IGY264mKGC9ap0WQefCGe6Q6AmE8QC/mA+2ZKUt8D/mtN8gCGgSofa iHkkQ6gGU36N1Ql3zwutVi4U1EWBOWNnfYyPd/yGBMic9Y9AuX37Jr9gb4j4TL6GYv+qvQ IYtPZ704B9zlJ8SRBlPb9IrB5OkUIoGgIjwGTw5JFtSRB436mJAq/afP+uvPMk5dhSUS2N vQJMtLc/okXzwNA060CpZooT8K5M5TOBFJ83pl/p0EFDCNvA4wZafWjZw+fbaFm3w7OtBR EudtnkKJQ9YZjb+hk3wCNiIJ6VV0NGAl3i6cBKOlAO+E7Il68uW0VTB1HtA7Iw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=ba33c288488d4543d1a140cd5c44b8b3c4c29915 commit ba33c288488d4543d1a140cd5c44b8b3c4c29915 Author: Konstantin Belousov AuthorDate: 2022-01-12 08:20:51 +0000 Commit: Konstantin Belousov CommitDate: 2022-01-12 18:04:41 +0000 truss: remove write-only variable Reviewed by: markj Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D33861 --- 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 67a370b808b5..586b583c3209 100644 --- a/usr.bin/truss/syscalls.c +++ b/usr.bin/truss/syscalls.c @@ -1945,11 +1945,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]);