From a7b51f92ee4179c28f778d8cb286ec2f35ea974b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9a=20Saviot?= Date: Wed, 23 Jan 2019 14:53:50 +0100 Subject: [PATCH] [apps] Remove compilation warning about unused variable --- apps/code/editor_controller.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/code/editor_controller.cpp b/apps/code/editor_controller.cpp index 11a22cb07..9769f0e23 100644 --- a/apps/code/editor_controller.cpp +++ b/apps/code/editor_controller.cpp @@ -124,6 +124,7 @@ void EditorController::saveScript() { size_t sizeOfValue = strlen(m_areaBuffer+1)+1+1; // size of scriptContent + size of importation status Script::ErrorStatus err = m_script.setValue({.buffer=m_areaBuffer, .size=sizeOfValue}); assert(err != Script::ErrorStatus::NotEnoughSpaceAvailable && err != Script::ErrorStatus::RecordDoesNotExist); // This should not happen as we set the text area according to the available space in the Kallax + (void) err; } }