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