commit | 23a20b0e7dbfd29f76ad25c6438790f0249fc9a6 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Wed Aug 26 02:34:42 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Aug 26 02:34:42 2020 +0000 |
tree | 6f7d9bcda58e00528dada9c09a3e93150fdb61e2 | |
parent | ba604618fd83df535007ef9f351286cd215d12a0 [diff] | |
parent | ed883a6cb6c55e52832ef6b7c2da11e7ab693b97 [diff] |
Merge "Initialize an uninitialized enum." am: 26537884e4 am: ddca6226f9 am: ddc5686e68 am: ed883a6cb6 Original change: https://android-review.googlesource.com/c/platform/frameworks/av/+/1406567 Change-Id: Ifecaaf97505c894e6bcbb43e46cf81db2c893965
diff --git a/media/codec2/tests/C2UtilTest.cpp b/media/codec2/tests/C2UtilTest.cpp index 59cd313..2d66df1 100644 --- a/media/codec2/tests/C2UtilTest.cpp +++ b/media/codec2/tests/C2UtilTest.cpp
@@ -78,7 +78,7 @@ { "value2", Enum3Value2 }, { "value4", Enum3Value4 }, { "invalid", Invalid } }); - Enum3 e3; + Enum3 e3(Invalid); C2FieldDescriptor::namedValuesFor(e3); // upper case