summaryrefslogtreecommitdiff
path: root/source3/smbd/trans2.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2012-02-17 14:12:40 -0800
committerJeremy Allison <jra@samba.org>2012-02-18 06:22:40 +0100
commit21528da9cd12a4f5c3792a482a5d18fe946a6f7a (patch)
tree4b8c37725dd728e00f25a8b4e2e9b52d7ff7fd5a /source3/smbd/trans2.c
parente786e8fef9960aadf1e94c70c0fb7ec18c1ed237 (diff)
downloadsamba-21528da9cd12a4f5c3792a482a5d18fe946a6f7a.tar.gz
samba-21528da9cd12a4f5c3792a482a5d18fe946a6f7a.tar.bz2
samba-21528da9cd12a4f5c3792a482a5d18fe946a6f7a.zip
Fix a bunch of "unused variable" warnings.
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Feb 18 06:22:40 CET 2012 on sn-devel-104
Diffstat (limited to 'source3/smbd/trans2.c')
-rw-r--r--source3/smbd/trans2.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index cee6c35189..336e76e481 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -1539,7 +1539,6 @@ static bool smbd_marshall_dir_entry(TALLOC_CTX *ctx,
uint32_t len;
struct timespec mdate_ts, adate_ts, cdate_ts, create_date_ts;
time_t mdate = (time_t)0, adate = (time_t)0, create_date = (time_t)0;
- time_t c_date = (time_t)0;
char *nameptr;
char *last_entry_ptr;
bool was_8_3;
@@ -1575,7 +1574,6 @@ static bool smbd_marshall_dir_entry(TALLOC_CTX *ctx,
create_date = convert_timespec_to_time_t(create_date_ts);
mdate = convert_timespec_to_time_t(mdate_ts);
adate = convert_timespec_to_time_t(adate_ts);
- c_date = convert_timespec_to_time_t(cdate_ts);
/* align the record */
SMB_ASSERT(align >= 1);