[Bugs] [Bug 789278] Issues reported by Coverity static analysis tool
bugzilla at redhat.com
bugzilla at redhat.com
Fri Nov 3 17:18:02 UTC 2017
https://bugzilla.redhat.com/show_bug.cgi?id=789278
--- Comment #1112 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/18639 committed in master by
------------- xlators/performance/io-cache/: DEADCODE in ioc_open_cbk
Coverity ID: 173
Issue: Event dead_error_line: Execution cannot reach this statement:
"fd_ctx_set(fd, this, 1UL);".
Removed if block as "weight == 0U" cannot be true, so if block will
never execute. Also removed weight variable because it is unused.
Change-Id: I4f028df29bfde91167fb15befa99b1fe1892adc6
BUG: 789278
Signed-off-by: Girjesh Rajoria <grajoria at redhat.com>
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Bugs
mailing list