From 53809959cd40ca318eb8317fa5f67d72b06128bd Mon Sep 17 00:00:00 2001 From: Drath Date: Mon, 11 May 2026 09:56:25 +0000 Subject: [PATCH] its bitchier about unused results now --- src/LCDDisplay.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/LCDDisplay.cpp b/src/LCDDisplay.cpp index e47494d..97f980f 100644 --- a/src/LCDDisplay.cpp +++ b/src/LCDDisplay.cpp @@ -40,7 +40,8 @@ int LCDDisplay::Init() { // disable underline and block cursor constexpr uint8_t cmdbuf[] = {254, 75, 254, 84}; - ::write(lcd, &cmdbuf, sizeof(cmdbuf)); + const ssize_t ret = ::write(lcd, &cmdbuf, sizeof(cmdbuf)); + (void)ret; // clear display and set cursor home this->clear();