Ticket #9239 (closed: fixed)

Opened 7 years ago

Last modified 5 years ago

Fix coverity warning in AsciiPointBase

Reported by: Keith Brown Owned by: Keith Brown
Priority: minor Milestone: Release 3.2
Component: Reflectometry Keywords:
Cc: Blocked By:
Blocking: Tester: Jay Rainey

Description

There's an Uninitialized scalar field warning from coverity in AsciiPointBase.h line 44. Fix it

Change History

comment:1 Changed 7 years ago by Keith Brown

Refs #9239 Initialise variables in constructor.

The converity scan should be satisfied with the way I'm initialising these variables now.

Changeset: 2a7fcd4a80c44a4bc82091d53b0a3c38fc0c3f1f

comment:2 Changed 7 years ago by Martyn Gigg

  • Status changed from new to assigned

comment:3 Changed 7 years ago by Keith Brown

  • Status changed from assigned to verify
  • Resolution set to fixed

comment:4 Changed 6 years ago by Jay Rainey

  • Status changed from verify to verifying
  • Tester set to Jay Rainey

comment:5 Changed 6 years ago by Jay Rainey

  • Status changed from verifying to closed

Minor change that I tested by code review. The member variables are now in the constructor's initialization list, which will fix the coverity warning. Closing.

comment:6 Changed 6 years ago by Jay Rainey

Merge remote-tracking branch 'origin/feature/9239_AsciiPointBase_Coverity_Fix'

Full changeset: 77beaf0d3cdd19dd0c320a3fb915eaebfa8d809d

comment:7 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 10082

Note: See TracTickets for help on using tickets.