summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-08-12 21:43:07 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:00:30 -0500
commit921faa5bf79a81bb5fdc0be280237fad4d8813bf (patch)
treea70f74293e13df7840f35e1db05930ca2c232eb3
parent021892a6ceecd8a1311a6d582688ae3ec4bfdd22 (diff)
downloadsamba-921faa5bf79a81bb5fdc0be280237fad4d8813bf.tar.gz
samba-921faa5bf79a81bb5fdc0be280237fad4d8813bf.tar.bz2
samba-921faa5bf79a81bb5fdc0be280237fad4d8813bf.zip
r9277: Another unused variable. Bugzilla #2985.
(This used to be commit 5e91d6450b320bb4585169c6805f292f855492a9)
-rw-r--r--source3/utils/profiles.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/utils/profiles.c b/source3/utils/profiles.c
index b718770ba3..bada6578b2 100644
--- a/source3/utils/profiles.c
+++ b/source3/utils/profiles.c
@@ -530,7 +530,6 @@ int main(int argc, char *argv[])
SK_HDR *sk_hdr;
DWORD first_sk_off, sk_off;
MY_SEC_DESC *sec_desc;
- int *ptr;
struct poptOption long_options[] = {
POPT_AUTOHELP
{ "verbose", 'v', POPT_ARG_NONE, NULL, 'v', "Sets verbose mode" },
@@ -694,7 +693,6 @@ int main(int argc, char *argv[])
(0x1000 + sk_off + 4));
exit(8);
}
- ptr = (int *)sk_hdr;
if (verbose) fprintf(stdout, "Off: %08X, Refs: %u, Size: %u\n",
sk_off, IVAL(&sk_hdr->ref_cnt, 0),
IVAL(&sk_hdr->rec_size, 0));