summaryrefslogtreecommitdiff
path: root/source3/printing/nt_printing.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2000-06-23 06:47:11 +0000
committerTim Potter <tpot@samba.org>2000-06-23 06:47:11 +0000
commit096127fb47752588edcc52d42b2281ebbaa886c7 (patch)
treec38bf1c0152d46de2ce04f130a40746cae75e5d4 /source3/printing/nt_printing.c
parentbe7ad004e0bb479944a70f28fda0bc011c609e4a (diff)
downloadsamba-096127fb47752588edcc52d42b2281ebbaa886c7.tar.gz
samba-096127fb47752588edcc52d42b2281ebbaa886c7.tar.bz2
samba-096127fb47752588edcc52d42b2281ebbaa886c7.zip
Some compile fixes.
(This used to be commit 4d0c09cb4f17b60ab99767d3e61f2ad50c6c5c30)
Diffstat (limited to 'source3/printing/nt_printing.c')
-rw-r--r--source3/printing/nt_printing.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c
index ec1251821c..c000e1c978 100644
--- a/source3/printing/nt_printing.c
+++ b/source3/printing/nt_printing.c
@@ -1610,9 +1610,7 @@ static char *pace_str(uint32 ace_flags)
BOOL print_access_check(int snum, uint16 vuid, uint32 required_access)
{
SEC_DESC_BUF *secdesc = NULL;
- uint32 acc_grant, status;
user_struct *user;
- BOOL result;
char *p;
int i;
@@ -1635,7 +1633,6 @@ BOOL print_access_check(int snum, uint16 vuid, uint32 required_access)
fstring sid_str;
fstring dom_name, name;
uint8 name_type;
- BOOL result;
sid_to_string(sid_str, sid);
winbind_lookup_sid(sid, dom_name, name, &name_type);