[SERVER-17948] Coverity analysis defect 72088: Redundant test Created: 09/Apr/15  Updated: 29/Apr/15  Resolved: 27/Apr/15

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure, WiredTiger
Affects Version/s: None
Fix Version/s: 3.1.2

Type: Bug Priority: Major - P3
Reporter: Coverity Collector User Assignee: Keith Bostic (Inactive)
Resolution: Done Votes: 0
Labels: coverity
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

A new defect has been detected and assigned to keith.bostic in Coverity Connect.
http://coverity.mongodb.com//sourcebrowser.htm?projectId=10001#mergedDefectId=72088
The defect was flagged by checker DEADCODE in
file /src/third_party/wiredtiger/src/log/log.c
function __log_decompress
and this ticket was created by asya



 Comments   
Comment by Keith Bostic (Inactive) [ 09/Apr/15 ]

On Thu, Apr 9, 2015 at 1:45 PM, Ramon Fernandez (JIRA) <jira@mongodb.org>
wrote:

Sorry about leaving that blank – I'm confused, though, how do you know
3.1.2 will be the first release that will include a fresh WiredTiger drop?

--keith

=========================
Keith Bostic
keith.bostic@mongodb.com

Comment by Githook User [ 09/Apr/15 ]

Author:

{u'username': u'keithbostic', u'name': u'Keith Bostic', u'email': u'keith@wiredtiger.com'}

Message: Remove unnecessary error labels, fixing SERVER-17948 along the way.

Coverity analysis defect 72088: Redundant test:
File: /src/third_party/wiredtiger/src/log/log.c
Function __log_decompress
/src/third_party/wiredtiger/src/log/log.c, line: 363
At condition "ret != 0", the value of "ret" must be equal to 0.
Branch: unnecessary-err-labels
https://github.com/wiredtiger/wiredtiger/commit/21907f9193e30f51a59fcbaddfbc46cb7732d3b7

Generated at Thu Feb 08 03:46:05 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.