Explorar o código

FlipperHTTP: Fix wrong return type warning

Willy-JL hai 1 ano
pai
achega
ecd41a50e2
Modificáronse 3 ficheiros con 3 adicións e 3 borrados
  1. 1 1
      flip_library/flipper_http.h
  2. 1 1
      flip_weather/flipper_http.h
  3. 1 1
      flip_wifi/flip_wifi_i.h

+ 1 - 1
flip_library/flipper_http.h

@@ -230,7 +230,7 @@ FuriString* flipper_http_load_from_file(char* file_path) {
         storage_file_close(file);
         storage_file_free(file);
         furi_record_close(RECORD_STORAGE);
-        return false;
+        return NULL;
     }
 
     // Append each byte to the FuriString

+ 1 - 1
flip_weather/flipper_http.h

@@ -230,7 +230,7 @@ FuriString* flipper_http_load_from_file(char* file_path) {
         storage_file_close(file);
         storage_file_free(file);
         furi_record_close(RECORD_STORAGE);
-        return false;
+        return NULL;
     }
 
     // Append each byte to the FuriString

+ 1 - 1
flip_wifi/flip_wifi_i.h

@@ -195,7 +195,7 @@ static FlipWiFiApp* flip_wifi_app_alloc() {
            callback_to_submenu_saved,
            &app->view_dispatcher,
            app)) {
-        return false;
+        return NULL;
     }
 
     // Load the playlist from storage