libbinder: Fix initializer order error in RpcState.cpp
Building with -Wreorder-init-list fails with an error in
RpcState.cpp when initializing a BinderNode structure.
This fixes the error by manually moving the initializers
in the right order.
Bug: None
Test: m
Change-Id: I81ca1f52ad0f6955f0a32658f8f367a3539baf06
diff --git a/libs/binder/Android.bp b/libs/binder/Android.bp
index 7448308..63d87da 100644
--- a/libs/binder/Android.bp
+++ b/libs/binder/Android.bp
@@ -166,6 +166,7 @@
"-Wextra-semi",
"-Werror",
"-Wzero-as-null-pointer-constant",
+ "-Wreorder-init-list",
"-DANDROID_BASE_UNIQUE_FD_DISABLE_IMPLICIT_CONVERSION",
"-DANDROID_UTILS_REF_BASE_DISABLE_IMPLICIT_CONSTRUCTION",
],