aboutsummaryrefslogtreecommitdiff
path: root/lib/RSX86TranslateGEPPass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/RSX86TranslateGEPPass.cpp')
-rw-r--r--lib/RSX86TranslateGEPPass.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/RSX86TranslateGEPPass.cpp b/lib/RSX86TranslateGEPPass.cpp
index 52dee0d..113ca28 100644
--- a/lib/RSX86TranslateGEPPass.cpp
+++ b/lib/RSX86TranslateGEPPass.cpp
@@ -77,6 +77,7 @@ private:
if (!OpC) {
ALOGE("Operand for struct type is not constant!");
bccAssert(false);
+ return nullptr; // NOLINT, unreached
}
// Offset = Offset + EltOffset for index into a struct