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 |