commit | 0c2774b16a72d13f432cd8b7e8dedd2d6f5ed0ba | [log] [tgz] |
---|---|---|
author | George Burgess IV <[email protected]> | Tue Oct 11 17:51:10 2016 -0700 |
committer | George Burgess IV <[email protected]> | Thu Oct 13 15:51:04 2016 -0700 |
tree | 3a1cb092a818d7daa0d93e56569477678c0fc7a1 | |
parent | c98b34bdce1fb1b43755af7fb8538efb0d0dc953 [diff] |
Fix static-analyzer warning. frameworks/base/tools/aapt/Images.cpp:845:17: warning: Assigned value is garbage or undefined row += bpp; Bug: None. Test: The warning is gone. Change-Id: Idf4623d2510111a9188ed39922e109a8db225c76
diff --git a/tools/aapt/Images.cpp b/tools/aapt/Images.cpp index 9939c18..cc26b4f 100644 --- a/tools/aapt/Images.cpp +++ b/tools/aapt/Images.cpp
@@ -833,6 +833,7 @@ bpp = 4; } else { printf("Unknown color type %d.\n", color_type); + return; } for (j = 0; j < h; j++) {