diff options
author | George Burgess IV <gbiv@google.com> | 2020-02-10 11:18:07 -0800 |
---|---|---|
committer | George Burgess IV <gbiv@google.com> | 2020-02-10 11:26:40 -0800 |
commit | dd5275dcc4ab0a4153d693e8c70457c341a9f7a0 (patch) | |
tree | d587fa61e4f5efc6f9bd20ee210e25ad4a9f81f5 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 6a1e0b72e3bf86c98211155dfd88d671b58d5e29 (diff) |
incfs: fix uninitialized values
Clang's static analyzer is flagging uninitialized struct fields that
we're passing around. In particular, it's not happy that we pass this
partially-initialized struct to a pure-virtual method. I tend to agree
that this may cause issues.
Assuming zero-init gives us reasonable values for all of:
IncFsNewFileParams{}.verification.rootHash
IncFsNewFileParams{}.verification.additionalData
IncFsNewFileParams{}.verification.signature
Bug: None
Test: TreeHugger
Change-Id: I61e556cd8c0e68cdaebd50b0a7be5d5e0a4fd8ff
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions