Skip to content

Commit

Permalink
reorder initialization in constructor matching to member declaration …
Browse files Browse the repository at this point in the history
…order (silence [-Werror=reorder])
  • Loading branch information
sebres committed Feb 15, 2023
1 parent ebe8399 commit 8b011d2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions CPP/7zip/UI/Common/UpdateCallback.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ bool InitLocalPrivileges();
CArchiveUpdateCallback::CArchiveUpdateCallback():
_hardIndex_From((UInt32)(Int32)-1),

VolNumberAfterExt(false),
DigitCount(2),

Callback(NULL),

DirItems(NULL),
Expand Down Expand Up @@ -92,9 +95,7 @@ CArchiveUpdateCallback::CArchiveUpdateCallback():
Need_LatestMTime(false),
LatestMTime_Defined(false),

ProcessedItemsStatuses(NULL),
VolNumberAfterExt(false),
DigitCount(2)
ProcessedItemsStatuses(NULL)
{
#ifdef _USE_SECURITY_CODE
_saclEnabled = InitLocalPrivileges();
Expand Down

0 comments on commit 8b011d2

Please sign in to comment.