瀏覽代碼

fix return

jblanked 9 月之前
父節點
當前提交
12c1abe23a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      flip_storage/flip_social_storage.c

+ 1 - 1
flip_storage/flip_social_storage.c

@@ -489,7 +489,7 @@ bool load_char(
     {
         storage_file_free(file);
         furi_record_close(RECORD_STORAGE);
-        return NULL; // Return false if the file does not exist
+        return false;
     }
 
     // Read data into the buffer