From f72caa1c2a7e85d7977c9cb1f340ec68a865e037 Mon Sep 17 00:00:00 2001 From: Jakub Jelen Date: Tue, 3 May 2016 10:33:37 +0200 Subject: [PATCH] Remove unused variables --- opencryptoki-2.4-group.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/opencryptoki-2.4-group.patch b/opencryptoki-2.4-group.patch index aabacdc..d6ff327 100644 --- a/opencryptoki-2.4-group.patch +++ b/opencryptoki-2.4-group.patch @@ -1,6 +1,16 @@ diff -up opencryptoki/usr/lib/pkcs11/api/shrd_mem.c.in.group opencryptoki/usr/lib/pkcs11/api/shrd_mem.c.in --- opencryptoki/usr/lib/pkcs11/api/shrd_mem.c.in.group 2015-08-27 11:35:42.759397175 +0200 +++ opencryptoki/usr/lib/pkcs11/api/shrd_mem.c.in 2015-08-27 11:39:02.240023425 +0200 +@@ -338,9 +338,6 @@ + int shmid; + char *shmp; + struct stat statbuf; +- struct group *grp; +- struct passwd *pw, *epw; +- uid_t uid, euid; + + #if !(MMAP) + // Really should fstat the tok_path, since it will be the actual @@ -352,37 +352,6 @@ attach_shared_memory() { return NULL; }