Import 2017-06-07 23:51:09: master afdfed66

Author Committer Branch Timestamp Parent
jcfr jcfr master 2015-04-01 04:55:12 master 02f44989
Changeset

STYLE: Fix compilation warnings

This commit fixes the following warnings:

  • vtkAnnotationROIRepresentation2D.cxx:426: warning: missing braces around initializer for 'double [3]' [-Wmissing-braces]

  • qMRMLSortFilterSubjectHierarchyProxyModel.cxx:80: warning: unused variable 'd' [-Wunused-variable]

  • qSlicerApplication.cxx: In member function 'void qSlicerApplication::setupFileLogging()':
    qSlicerApplication.cxx:740: warning: format '%d' expects type 'int', but argument 2 has type 'size_t' [-Wformat]
    qSlicerApplication.cxx:740: warning: format '%d' expects type 'int', but argument 3 has type 'size_t' [-Wformat]
    Related article: http://stackoverflow.com/questions/2524611/how-to-print-size-t-variable-portably

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

mod - Base/QTGUI/qSlicerApplication.cxx Diff File