]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds/Server.cc: remove unused initialization of 'destdnl'
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Sat, 10 May 2014 17:06:32 +0000 (19:06 +0200)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Sat, 10 May 2014 17:06:32 +0000 (19:06 +0200)
commit5199c14290447109befdaecb83296159e6691e6a
tree4d2a8c0864ed4059f60b048dd431ddaf59ce651d
parentb3203e54ec6f01aeecbdb5f1f7a63dcc2d7add55
mds/Server.cc: remove unused initialization of 'destdnl'

Remove initialization of 'destdnl' since the assigned value was
never used and the same call is used some lines later again before
first usage. Fix for:

6579 CDentry::linkage_t *destdnl = destdn->get_linkage();
     Value stored to 'destdnl' during its initialization is never read

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/mds/Server.cc