]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client/Client.cc: fix/silence "logically dead code" CID-Error 291/head
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Thu, 16 May 2013 17:49:06 +0000 (19:49 +0200)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Thu, 16 May 2013 17:49:06 +0000 (19:49 +0200)
commit541396faae0f49cbf1aad295c67eff29d1485a73
treed157a235f186409a536335f01b218311cc59a2b1
parent707ad738e688c43db076e882157167ef485d79bd
client/Client.cc: fix/silence "logically dead code" CID-Error

Fix handling of 'safe' and the conditions after calling file_flush().

CID 1019548 (#1 of 1): Logically dead code (DEADCODE)
  dead_error_begin: Execution cannot reach this statement "flock.Unlock();"

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