From 0ac003b4576392ca3e930304a98bbf8183ab5f8b Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 23 Sep 2020 12:04:06 +0200 Subject: [PATCH] keyboxd: Remove unused variables. * kbx/kbx-client-util.c (datastream_thread): No need to set PK_NO and UID_NO. Signed-off-by: Werner Koch --- kbx/kbx-client-util.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/kbx/kbx-client-util.c b/kbx/kbx-client-util.c index 910050372..e301ae025 100644 --- a/kbx/kbx-client-util.c +++ b/kbx/kbx-client-util.c @@ -176,7 +176,6 @@ datastream_thread (void *arg) int rc; unsigned char lenbuf[4]; size_t nread, datalen; - int pk_no, uid_no; char *data, *tmpdata; /* log_debug ("%s: started\n", __func__); */ @@ -240,7 +239,6 @@ datastream_thread (void *arg) else { /* log_debug ("parsing datastream succeeded\n"); */ - pk_no = uid_no = 0; /* FIXME: Get this from the keyboxd. */ } /* Thread-safe assignment to the result var: */