From d31b31787c50a1fbda110cbabfa7e2c4b9b44eaa Mon Sep 17 00:00:00 2001 From: Renz Bagaporo Date: Wed, 27 Jun 2018 20:47:30 +0800 Subject: [PATCH] spiffs: Explicitly indicate unused value --- components/spiffs/spiffs_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/spiffs/spiffs_api.c b/components/spiffs/spiffs_api.c index 6dd3db963..39fcabbd9 100644 --- a/components/spiffs/spiffs_api.c +++ b/components/spiffs/spiffs_api.c @@ -23,7 +23,7 @@ const char* TAG = "SPIFFS"; void spiffs_api_lock(spiffs *fs) { - xSemaphoreTake(((esp_spiffs_t *)(fs->user_data))->lock, portMAX_DELAY); + (void) xSemaphoreTake(((esp_spiffs_t *)(fs->user_data))->lock, portMAX_DELAY); } void spiffs_api_unlock(spiffs *fs)