diff --git a/include/ntfs-3g/index.h b/include/ntfs-3g/index.h index 97044938..aa81b0b4 100644 --- a/include/ntfs-3g/index.h +++ b/include/ntfs-3g/index.h @@ -98,7 +98,6 @@ typedef struct { int parent_pos[MAX_PARENT_VCN]; /* parent entries' positions */ VCN ib_vcn; VCN parent_vcn[MAX_PARENT_VCN]; /* entry's parent nodes */ - int max_depth; /* number of the parent nodes */ int pindex; /* maximum it's the number of the parent nodes */ BOOL ib_dirty; u32 block_size; diff --git a/libntfs-3g/index.c b/libntfs-3g/index.c index 247fbd12..52fcf28b 100644 --- a/libntfs-3g/index.c +++ b/libntfs-3g/index.c @@ -789,7 +789,6 @@ done: icx->entry = ie; icx->data = (u8 *)ie + offsetof(INDEX_ENTRY, key); icx->data_len = le16_to_cpu(ie->key_length); - icx->max_depth = icx->pindex; ntfs_log_trace("Done.\n"); if (err) { errno = err;