Import 2017-06-07 23:51:09: master 16e73c0b

Author Committer Branch Timestamp Parent
jcfr jcfr master 2015-10-08 01:07:53 master 39640479
Changeset

COMP: Fix "pointer-bool-conversion" clang warnings in vtkMRMLDisplayNode

Slicer/Libs/MRML/Core/vtkMRMLDisplayNode.cxx:127:13: warning: address of array 'this->Color' will always evaluate to 'true' [-Wpointer-bool-conversion]
if (this->Color)
~~ ~~^~~~~
Slicer/Libs/MRML/Core/vtkMRMLDisplayNode.cxx:136:13: warning: address of array 'this->SelectedColor' will always evaluate to 'true' [-Wpointer-bool-conversion]
if (this->SelectedColor)
~~ ~~^~~~~

From: Hans Johnson <hans-johnson@uiowa.edu>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@24620 3bd1e089-480b-0410-8dfb-8563597acbee

mod - Libs/MRML/Core/vtkMRMLDisplayNode.cxx Diff File