diff options
author | Caroline Tice <cmtice@google.com> | 2019-09-23 10:32:09 -0700 |
---|---|---|
committer | Caroline Tice <cmtice@chromium.org> | 2019-09-26 03:49:31 +0000 |
commit | f407f187af489b92c9a50a1f4ac8cf703b8fab56 (patch) | |
tree | d37960dec545a2cbbedf57a4790b5e2faa3e47f9 /payload_generator/graph_utils.cc | |
parent | 2f8594e369b7eb14809a210c9f8450b158cb9f06 (diff) |
update_engine: Fix field assignment order, for compiler warning.
The latest llvm compiler version (r370808), to which we are about to
upgrade Chrome OS, introduces a new warning, -Wreorder-init-list, which
complains if struct field assignments at initialization occur in a
different order than their declartion order. This CL fixes a build
error in the ChromeOS UnitTest stage that is uncovered by this warning.
BUG=chromium:1006866
TEST=compilation works with this fix, with new compiler
Change-Id: Id48ae7b24345d960313eaa03ce58378065a9316e
Reviewed-on: https://chromium-review.googlesource.com/c/aosp/platform/system/update_engine/+/1818788
Tested-by: Caroline Tice <cmtice@chromium.org>
Commit-Queue: Manoj Gupta <manojgupta@chromium.org>
Reviewed-by: Amin Hassani <ahassani@chromium.org>
Diffstat (limited to 'payload_generator/graph_utils.cc')
0 files changed, 0 insertions, 0 deletions