diff options
Diffstat (limited to 'xlators/features/changelog/lib/src/gf-changelog-api.c')
-rw-r--r-- | xlators/features/changelog/lib/src/gf-changelog-api.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/xlators/features/changelog/lib/src/gf-changelog-api.c b/xlators/features/changelog/lib/src/gf-changelog-api.c index d2a28bc6d52..71312f4ce95 100644 --- a/xlators/features/changelog/lib/src/gf-changelog-api.c +++ b/xlators/features/changelog/lib/src/gf-changelog-api.c @@ -152,9 +152,7 @@ out: ssize_t gf_changelog_scan () { - int ret = 0; int tracker_fd = 0; - size_t len = 0; size_t off = 0; xlator_t *this = NULL; size_t nr_entries = 0; @@ -181,9 +179,6 @@ gf_changelog_scan () if (gf_ftruncate (tracker_fd, 0)) goto out; - len = offsetof(struct dirent, d_name) - + pathconf(jnl->jnl_processing_dir, _PC_NAME_MAX) + 1; - rewinddir (jnl->jnl_dir); for (;;) { |