diff --git a/hal/Hal.cpp b/hal/Hal.cpp index 2a9c26eb62c3..dbd6afa6ab95 100644 --- a/hal/Hal.cpp +++ b/hal/Hal.cpp @@ -159,7 +159,7 @@ CancelVibrate(const WindowIdentifier &id) if (InSandbox()) { hal_sandbox::CancelVibrate(id); } - else if (gLastIDToVibrate && *gLastIDToVibrate == id.AsArray()) { + else if (*gLastIDToVibrate == id.AsArray()) { // Don't forward our ID to hal_impl. It doesn't need it, and we // don't want it to be tempted to read it. The empty identifier // will assert if it's used.