client/Client.cc: fix/silence "logically dead code" CID-Error #291

Merged
merged 1 commit into from May 16, 2013

Projects

None yet

2 participants

@dalgaaf
Member
dalgaaf commented May 16, 2013

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

v2 of pull request #288 (use bool instead of int)

@dalgaaf dalgaaf 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>
541396f
@liewegas liewegas merged commit 2df6e37 into ceph:master May 16, 2013
@dalgaaf dalgaaf deleted the dalgaaf:wip-da-CID-1019548 branch May 17, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment