View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004305 | Slicer4 | Core: Segmentation | public | 2016-11-18 02:11 | 2017-06-10 08:51 |
Reporter | jcfr | Assigned To | lassoan | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | Slicer 4.7.0 | ||||
Target Version | Slicer 4.7.0 | Fixed in Version | Slicer 4.7.0 | ||
Summary | 0004305: vtkSegmentation.cxx: Is unused parameter "targetRepresentationName" warning a real issue ? | ||||
Description | /home/jcfr/Projects/Slicer/Libs/vtkSegmentationCore/vtkSegmentation.cxx:957:63: warning: unused parameter ‘targetRepresentationName’ [-Wunused-parameter] | ||||
Tags | No tags attached. | ||||
That argument is not necessary because the second argument "path" contains that information as well. Probably it's best to simply remove the first argument. It's only used from qMRMLSegmentationConversionParametersWidget::applyConversion() |
|
Thanks to Csaba, fixed in 25597 |
|
Import 2017-06-07 23:51:09: master 67a342fd 2016-12-08 16:24:28 Details Diff |
STYLE: vtkSegmentation: Fix unused "targetRepresentationName" warning Warning fixed is: /path/to/Slicer/Libs/vtkSegmentationCore/vtkSegmentation.cxx:957:63: warning: unused parameter ‘targetRepresentationName’ [-Wunused-parameter] bool vtkSegmentation::CreateRepresentation(const std::string& targetRepresentationName, ^ Fixes 0004305 Suggested-by: Csaba Pinter <csaba.pinter@queensu.ca> git-svn-id: http://svn.slicer.org/Slicer4/trunk@25597 3bd1e089-480b-0410-8dfb-8563597acbee |
||
mod - Libs/vtkSegmentationCore/vtkSegmentation.cxx | Diff File | ||
mod - Libs/vtkSegmentationCore/vtkSegmentation.h | Diff File | ||
mod - Modules/Loadable/Segmentations/Widgets/qMRMLSegmentationConversionParametersWidget.cxx | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-11-18 02:11 | jcfr | New Issue | |
2016-11-18 02:11 | jcfr | Status | new => assigned |
2016-11-18 02:11 | jcfr | Assigned To | => lassoan |
2016-12-08 16:29 | pinter | Note Added: 0014267 | |
2016-12-08 16:38 | jcfr | Note Added: 0014268 | |
2016-12-08 16:38 | jcfr | Status | assigned => resolved |
2016-12-08 16:38 | jcfr | Fixed in Version | => Slicer 4.7.0 |
2016-12-08 16:38 | jcfr | Resolution | open => fixed |
2016-12-08 16:38 | jcfr | Status | resolved => closed |
2017-06-10 08:51 | jcfr | Changeset attached | => Slicer master 67a342fd |