git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
021892a
)
r9277: Another unused variable. Bugzilla #2985.
author
Tim Potter
<tpot@samba.org>
Fri, 12 Aug 2005 21:43:07 +0000
(21:43 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 16:00:30 +0000
(11:00 -0500)
(This used to be commit
5e91d6450b320bb4585169c6805f292f855492a9
)
source3/utils/profiles.c
patch
|
blob
|
history
diff --git
a/source3/utils/profiles.c
b/source3/utils/profiles.c
index b718770ba34a48f6315f23d27a691cef77d9e035..bada6578b2ec9e2093fb63b0e7dd19b92d3b1d95 100644
(file)
--- 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));