summaryrefslogtreecommitdiffstats
path: root/runtime/dex_file.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/dex_file.cc')
-rw-r--r--runtime/dex_file.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/dex_file.cc b/runtime/dex_file.cc
index d368e416f9..e5bc7c8c86 100644
--- a/runtime/dex_file.cc
+++ b/runtime/dex_file.cc
@@ -155,7 +155,7 @@ bool DexFile::Open(const char* filename, const char* location, std::string* erro
}
}
*error_msg = StringPrintf("Expected valid zip or dex file: '%s'", filename);
- return nullptr;
+ return false;
}
int DexFile::GetPermissions() const {