← Back to team overview

hugin-devs team mailing list archive

[Bug 1538483] [NEW] Unused local type definitions

 

Public bug reported:

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.

** Affects: hugin
     Importance: Undecided
         Status: New

** Attachment added: "Wunused-local-typedefs_patch.zip"
   https://bugs.launchpad.net/bugs/1538483/+attachment/4557458/+files/Wunused-local-typedefs_patch.zip

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/1538483

Title:
  Unused local type definitions

Status in Hugin:
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/1538483/+subscriptions


Follow ups