git: 7545bb2ba726 - stable/13 - truss: remove write-only variable

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Wed, 19 Jan 2022 00:46:13 UTC
The branch stable/13 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=7545bb2ba726e6262d11b699ce88df90d9739d3d

commit 7545bb2ba726e6262d11b699ce88df90d9739d3d
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2022-01-12 08:20:51 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
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]);