]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/FileStore.cc: remove dead code
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Mon, 4 May 2015 23:06:44 +0000 (01:06 +0200)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Mon, 1 Jun 2015 04:59:26 +0000 (06:59 +0200)
commit42f93a641804d9a3baeb01b1be4ecb86d4e0eb26
treecdc8ebb62f07e43d32820949ed244bf261e8b9c8
parent258b7b9a31b98b57b21733062d91ded98f13e561
os/FileStore.cc: remove dead code

Fix for coverity issue caused by 8811df3 (introduced a similar
check some lines earlier in the code causing the check to return
earlier).

at_least: At condition r < 0, the value of r must be at least 0.
dead_error_condition: The condition r < 0 cannot be true.

CID 1274289 (#1 of 1): Logically dead code (DEADCODE)
dead_error_begin: Execution cannot reach this statement

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