Unused local type definitions

Bug #1538483 reported by Jan Dubiec
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Hugin
Fix Released
Undecided
Unassigned

Bug Description

While compiling with "g++ -Wall" a lot of warnings of this type are reported:

In file included from d:/Works/Hugin/src/tools/autooptimiser.cpp:50:0:
d:/Works/Hugin/src/tools/ExtractPoints.h: In function 'std::vector<ValueType*> loadImagesPyr(std::vector<std::__cxx11::basic_string<char> >, int, int)':
d:/Works/Hugin/src/tools/ExtractPoints.h:42:44: warning: typedef 'PixelType' locally defined but not used [-Wunused-local-typedefs]
     typedef typename ImageType::value_type PixelType;
                                            ^

In the attached patches I have commented out these typedefs but perhaps they should be simply deleted.

Regards,
/J.D.

Revision history for this message
Jan Dubiec (jdx) wrote :
Revision history for this message
tmodes (tmodes) wrote :

Again: please provide one single diff file per issue and not per file. The splitting above several single files make is more complicated to read, understand and to apply.
Committed the changes, but there are purely cosmetic and does not influence the behaviour.

Changed in hugin:
status: New → Fix Committed
tmodes (tmodes)
Changed in hugin:
milestone: none → 2016.2beta1
tmodes (tmodes)
Changed in hugin:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.