termux-packages/packages/aapt/androidfw-Asset.cpp.patch

19 lines
473 B
Diff
Raw Normal View History

2022-02-07 12:53:59 +01:00
--- a/base/libs/androidfw/Asset.cpp
+++ b/base/libs/androidfw/Asset.cpp
@@ -455,7 +455,6 @@
{
assert(mFp == NULL); // no reopen
assert(!mMap.has_value());
- assert(dataMap != NULL);
mMap = std::move(dataMap);
mStart = -1; // not used
@@ -800,7 +799,6 @@
{
assert(mFd < 0); // no re-open
assert(!mMap.has_value());
- assert(dataMap != NULL);
mMap = std::move(dataMap);
mStart = -1; // not used