From c570e134d7544b6cedc7e370e07c55d4f2c94621 Mon Sep 17 00:00:00 2001 From: pennam Date: Thu, 11 Jan 2024 09:33:29 +0100 Subject: [PATCH] SFU: add missing return value to avoid warnings --- libraries/SFU/src/SFU.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libraries/SFU/src/SFU.cpp b/libraries/SFU/src/SFU.cpp index 4f56b536e..b9c1a1a6d 100644 --- a/libraries/SFU/src/SFU.cpp +++ b/libraries/SFU/src/SFU.cpp @@ -21,14 +21,17 @@ int SFU::begin() { if (err) { err = getFileSystem().reformat(&bd); } + return err; } int SFU::download(const char* url) { - // No download at the moment, allow the user to upload a file via mass storage + // No download at the moment, allow the user to upload a file via mass storage + return 0; } int SFU::apply() { - // No autoreboot + // No autoreboot + return 0; } #ifdef ADD_USB_MSD pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy