diff --git a/src/activities/boot_sleep/SleepActivity.cpp b/src/activities/boot_sleep/SleepActivity.cpp index a113f632..dd583e3e 100644 --- a/src/activities/boot_sleep/SleepActivity.cpp +++ b/src/activities/boot_sleep/SleepActivity.cpp @@ -875,7 +875,6 @@ void SleepActivity::renderOverlaySleepScreen() const { return false; } auto png = std::make_unique(); - if (!png) return false; int rc = png->open(filename.c_str(), pngSleepOpen, pngSleepClose, pngSleepRead, pngSleepSeek, pngOverlayDraw); if (rc != PNG_SUCCESS) {