| commit | cc69dc8004fdbddab1a1f8abd821a7a000230f5b | [log] [tgz] |
|---|---|---|
| author | Yuyang Huang <yuyanghuang@google.com> | Fri Dec 22 17:54:21 2023 +0900 |
| committer | Yuyang Huang <yuyanghuang@google.com> | Fri Dec 22 17:54:21 2023 +0900 |
| tree | 1b68808b9108aec9cbd8a82fe581cef0a04248bb | |
| parent | 3210e4e49222e391d738b5a713bd93c5ab0f5900 [diff] |
Resolve the build warning by initializing load_size Bug: 312314396 Test: TH Change-Id: Ic5c4835a2e33eea1f1942602cb6e969a730f8337
diff --git a/v5/apf_interpreter.c b/v5/apf_interpreter.c index 9284a45..ee8a28e 100644 --- a/v5/apf_interpreter.c +++ b/v5/apf_interpreter.c
@@ -154,7 +154,7 @@ offs += registers[1]; } ASSERT_IN_PACKET_BOUNDS(offs); - uint32_t load_size; + uint32_t load_size = 0; switch (opcode) { case LDB_OPCODE: case LDBX_OPCODE: