Thanks for your mail. Basically Klocwork categories the severity as error mentioning void function returns value under CODE VOIDRET pointing to the below function in qtconcurrentfunctionwrappers.h as the cause of error severity.
Best Regards, Ramakanth On Sun, 31 May, 2020, 12:02 Thiago Macieira, <thiago.macie...@intel.com> wrote: > On Saturday, 30 May 2020 11:03:57 PDT Ramakanth Kesireddy wrote: > > Void function returns value VOIDRET pointing to the below code in > > qtbase/src/concurrent/qtconcurrentfunctionwrappers.h. > > > > template <class C, class U> > > inline void operator()(C &c, U &&u) const > > { > > return c.push_back(u); > > } > > > > Could you please let me know if the below singleton class code would > > trigger above error and be ignored or not? > > Can you explain what the error is in the first place? Your tool seems to > be > complaining that a void function returned the void of another function, > but > there should be no harm in that. > > -- > Thiago Macieira - thiago.macieira (AT) intel.com > Software Architect - Intel System Software Products > > > > _______________________________________________ > Interest mailing list > Interest@qt-project.org > https://lists.qt-project.org/listinfo/interest >
_______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest