summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-10-31 02:53:07 +0000
committerTim Potter <tpot@samba.org>2003-10-31 02:53:07 +0000
commit956a16d6efe00de48c41d84621b925f246825cdb (patch)
tree5040bf49b4f7241f7b0121b39837b7df29c6ec1c
parenta51e72a19b3fba09086bc318f145169d6d902a04 (diff)
downloadsamba-956a16d6efe00de48c41d84621b925f246825cdb.tar.gz
samba-956a16d6efe00de48c41d84621b925f246825cdb.tar.bz2
samba-956a16d6efe00de48c41d84621b925f246825cdb.zip
Fix some unused variable warnings.
(This used to be commit 512a81c9fd4490cb6f9b1cc88cdb9238d21decb1)
-rw-r--r--source3/sam/gums.c2
-rw-r--r--source3/sam/gums_tdbsam2.c4
2 files changed, 6 insertions, 0 deletions
diff --git a/source3/sam/gums.c b/source3/sam/gums.c
index ab374b9342..91009f8b5d 100644
--- a/source3/sam/gums.c
+++ b/source3/sam/gums.c
@@ -58,6 +58,7 @@
static GUMS_FUNCTIONS *gums_backend = NULL;
+#if 0
static PRIVS gums_privs[] = {
{PRIV_NONE, "no_privs", "No privilege"}, /* this one MUST be first */
{PRIV_CREATE_TOKEN, "SeCreateToken", "Create Token"},
@@ -88,6 +89,7 @@ static PRIVS gums_privs[] = {
{PRIV_ENABLE_DELEGATION, "SeEnableDelegation", "Enable Delegation"},
{PRIV_ALL, "SaAllPrivs", "All Privileges"}
};
+#endif
static struct gums_init_function_entry *backends = NULL;
diff --git a/source3/sam/gums_tdbsam2.c b/source3/sam/gums_tdbsam2.c
index 82e3923f7c..217cf6f34e 100644
--- a/source3/sam/gums_tdbsam2.c
+++ b/source3/sam/gums_tdbsam2.c
@@ -22,7 +22,9 @@
#include "tdbsam2.h"
#include "tdbsam2_parse_info.h"
+#if 0
static int gums_tdbsam2_debug_class = DBGC_ALL;
+#endif
/*
#undef DBGC_CLASS
#define DBGC_CLASS gums_tdbsam2_debug_class
@@ -1182,6 +1184,7 @@ static NTSTATUS tdbsam2_set_object(const GUMS_OBJECT *go)
return ret;
}
+#if 0
/* set object values function */
static NTSTATUS (*set_object_values) (DOM_SID *sid, uint32 count, GUMS_DATA_SET *data_set);
@@ -1203,6 +1206,7 @@ static NTSTATUS (*enumerate_privilege_members) (DOM_SID **members, const LUID_AT
static NTSTATUS (*get_sid_privileges) (DOM_SID **privs, const DOM_SID *sid);
/* warning!: set_privilege will overwrite a prior existing privilege if such exist */
static NTSTATUS (*set_privilege) (GUMS_PRIVILEGE *priv);
+#endif
static void free_tdbsam2_private_data(void **vp)
{