Skip to content

Commit

Permalink
[win32] AboutTab: Reorder initialization to match variable order.
Browse files Browse the repository at this point in the history
src/win32/config/AboutTab.cpp: In constructor ‘AboutTabPrivate::AboutTabPrivate()’:
src/win32/config/AboutTab.cpp:159:22: warning: ‘AboutTabPrivate::hRichEdit’ will be initialized after [-Wreorder]
  159 |                 HWND hRichEdit;
      |                      ^~~~~~~~~
src/win32/config/AboutTab.cpp:115:22: warning:   ‘bool AboutTabPrivate::bUseFriendlyLinks’ [-Wreorder]
  115 |                 bool bUseFriendlyLinks;
      |                      ^~~~~~~~~~~~~~~~~
src/win32/config/AboutTab.cpp:196:1: warning:   when initialized here [-Wreorder]
  196 | AboutTabPrivate::AboutTabPrivate()
      | ^~~~~~~~~~~~~~~
  • Loading branch information
GerbilSoft committed Jul 6, 2022
1 parent 59ac405 commit e2a72cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/win32/config/AboutTab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,8 @@ AboutTabPrivate::AboutTabPrivate()
: hPropSheetPage(nullptr)
, hWndPropSheet(nullptr)
, hFontBold(nullptr)
, hRichEdit(nullptr)
, bUseFriendlyLinks(false)
, hRichEdit(nullptr)
{
memset(&rtfCtx, 0, sizeof(rtfCtx));

Expand Down

0 comments on commit e2a72cf

Please sign in to comment.