[swrap] [PATCH] remove unused struct members

Michael Adam obnox at samba.org
Tue Aug 23 09:45:16 UTC 2016


cleanup the swrap struct.

Review / push appreciated.

Michael
-------------- next part --------------
From 5e60838e02e724b6c0c8033f7e01b5e6474aa746 Mon Sep 17 00:00:00 2001
From: Michael Adam <obnox at samba.org>
Date: Fri, 19 Aug 2016 13:34:50 +0200
Subject: [PATCH] swrap: remove ununsed members from struct swrap.

These were used in removed swrap_init().

Pair-Programmed-With: Anoop C S <anoopcs at redhat.com>

Signed-off-by: Michael Adam <obnox at samba.org>
Signed-off-by: Anoop C S <anoopcs at redhat.com>
---
 src/socket_wrapper.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/socket_wrapper.c b/src/socket_wrapper.c
index 00518c1..3dc80fa 100644
--- a/src/socket_wrapper.c
+++ b/src/socket_wrapper.c
@@ -413,11 +413,6 @@ struct swrap {
 	void *libc_handle;
 	void *libsocket_handle;
 
-	bool initialised;
-	bool enabled;
-
-	char *socket_dir;
-
 	struct swrap_libc_fns fns;
 };
 
-- 
2.5.5

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20160823/bdace09a/signature.sig>


More information about the samba-technical mailing list