Fix some compiler warnings
ClosedPublic

Authored by ahmadsamir on Feb 4 2020, 6:36 PM.

Details

Summary
  • Fix order of member initialisation (compiling with -Wreorder)
  • Use Q_UNUSED where needed
  • QAtomicInteger::loadRelaxed() has been available since Qt 5.14
Test Plan

make && ctest

Diff Detail

Repository
R237 KConfig
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
ahmadsamir created this revision.Feb 4 2020, 6:36 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptFeb 4 2020, 6:36 PM
ahmadsamir requested review of this revision.Feb 4 2020, 6:36 PM
dfaure added inline comments.Feb 4 2020, 10:32 PM
src/kconfig_compiler/KConfigCodeGeneratorBase.cpp
33

missing space before m_baseDir

ahmadsamir updated this revision to Diff 75028.Feb 5 2020, 8:10 AM

Add missing space after ,

dfaure accepted this revision.Feb 8 2020, 10:29 AM
This revision is now accepted and ready to land.Feb 8 2020, 10:29 AM
This revision was automatically updated to reflect the committed changes.