Browse Source

Merge pull request #96 from trapexit/epmfs-fix

remove unused variable
pull/99/head
Antonio SJ Musumeci 9 years ago
parent
commit
7775d6830c
  1. 3
      src/policy_epmfs.cpp

3
src/policy_epmfs.cpp

@ -129,7 +129,6 @@ _epmfs_create(const vector<string> &basepaths,
fsblkcnt_t mfs; fsblkcnt_t mfs;
string mfsbasepath; string mfsbasepath;
string epmfsbasepath; string epmfsbasepath;
string fullpath;
mfs = 0; mfs = 0;
epmfs = 0; epmfs = 0;
@ -138,8 +137,6 @@ _epmfs_create(const vector<string> &basepaths,
int rv; int rv;
const string &basepath = basepaths[i]; const string &basepath = basepaths[i];
fullpath = fs::path::make(basepath,fusepath);
rv = _try_statvfs(basepath,fusepath,epmfs,epmfsbasepath,mfs,mfsbasepath); rv = _try_statvfs(basepath,fusepath,epmfs,epmfsbasepath,mfs,mfsbasepath);
if(rv == -1) if(rv == -1)
_try_statvfs(basepath,mfs,mfsbasepath); _try_statvfs(basepath,mfs,mfsbasepath);

Loading…
Cancel
Save