Project

General

Profile

Bug #2768

clang 7.0.0 warns about unused variable in gmxapi

Added by Joe Jordan 7 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
api
Target version:
Affected version - extra info:
Affected version:
Difficulty:
simple
Close

Description

Using cmake 3.12.1 and clang 7.0.0 generates the following warning at compiliation.

/tmp/mol-count/src/api/cpp/session-impl.h:229:32: warning: private field 'simulationContext_' is not used
      [-Wunused-private-field]
        gmx::SimulationContext simulationContext_;
                               ^

Associated revisions

Revision de71ffac (diff)
Added by Joe Jordan 7 months ago

fix unused variable warning from gmxapi compilation

Fixes #2768

Change-Id: I8c77dd19f15df6f365122e25680e9d0a553cb36c

History

#1 Updated by Gerrit Code Review Bot 7 months ago

Gerrit received a related patchset '1' for Issue #2768.
Uploader: Joe Jordan ()
Change-Id: gromacs~release-2019~I8c77dd19f15df6f365122e25680e9d0a553cb36c
Gerrit URL: https://gerrit.gromacs.org/8720

#2 Updated by Joe Jordan 7 months ago

  • Status changed from In Progress to Resolved

#3 Updated by Paul Bauer 7 months ago

  • Status changed from Resolved to Closed

#4 Updated by Mark Abraham 7 months ago

  • Target version set to 2019

Also available in: Atom PDF