Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5c69b10f authored by Siarhei Vishniakou's avatar Siarhei Vishniakou
Browse files

Convert reorder-init-list warning into error

This would help us avoid this mistake at compile time, and standardize
our struct usage in the code.

Previously, this printed a warning during the build, but the build
succeeded.

Bug: 271455682
Test: m
Flag: EXEMPT PURE_REFACTOR
Change-Id: Ic7b27b885af5f6027a3baf5c1848f7fcfc7728f7
parent f58f2d7e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -14,6 +14,7 @@ cc_library_static {
    cflags: [
        "-Wall",
        "-Werror",
        "-Werror=reorder-init-list",
        "-Wno-unused-parameter",
        "-Wthread-safety",