Skip to content

Commit

Permalink
Merge pull request #8959 from hjwsm1989/hj-test
Browse files Browse the repository at this point in the history
  os/filestore/LFNIndex: remove unused variable 'subdir_path'

Reviewed-by: Samuel Just <sjust@redhat.com>
  • Loading branch information
jdurgin committed Jul 6, 2016
2 parents 127862c + f25fbf9 commit 9c26b7c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/os/filestore/LFNIndex.cc
Expand Up @@ -720,7 +720,6 @@ int LFNIndex::lfn_get_name(const vector<string> &path,
string *mangled_name, string *out_path,
int *hardlink)
{
string subdir_path = get_full_path_subdir(path);
string full_name = lfn_generate_object_name(oid);
int r;

Expand Down Expand Up @@ -885,8 +884,6 @@ int LFNIndex::lfn_unlink(const vector<string> &path,
return -errno;
return 0;
}
string subdir_path = get_full_path_subdir(path);


int i = 0;
for ( ; ; ++i) {
Expand Down

0 comments on commit 9c26b7c

Please sign in to comment.