svn commit: samba r9277 - branches/SAMBA_3_0/source/utils trunk/source/utils

tpot at samba.org tpot at samba.org
Fri Aug 12 21:43:08 GMT 2005


Author: tpot
Date: 2005-08-12 21:43:07 +0000 (Fri, 12 Aug 2005)
New Revision: 9277

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=9277

Log:
Another unused variable.  Bugzilla #2985.

Modified:
   branches/SAMBA_3_0/source/utils/profiles.c
   trunk/source/utils/profiles.c


Changeset:
Modified: branches/SAMBA_3_0/source/utils/profiles.c
===================================================================
--- branches/SAMBA_3_0/source/utils/profiles.c	2005-08-12 21:39:01 UTC (rev 9276)
+++ branches/SAMBA_3_0/source/utils/profiles.c	2005-08-12 21:43:07 UTC (rev 9277)
@@ -530,7 +530,6 @@
   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 @@
 	      (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));

Modified: trunk/source/utils/profiles.c
===================================================================
--- trunk/source/utils/profiles.c	2005-08-12 21:39:01 UTC (rev 9276)
+++ trunk/source/utils/profiles.c	2005-08-12 21:43:07 UTC (rev 9277)
@@ -530,7 +530,6 @@
   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 @@
 	      (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));



More information about the samba-cvs mailing list