Remove unused variables

This commit is contained in:
Jakub Jelen 2016-05-03 10:33:37 +02:00
parent c41b53ba2b
commit f72caa1c2a

View File

@ -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;
}