[FL-2520] FW build with -Wextra (#1185)
* Fixing compiler warnings with -Wextra * More warnings suppression, WIP * Even more warning fixes * Added new lines at end of text files. * Padding fix * Additional fixes to warnings on different build configurations; added -Wextra to default build pipeline * Fixes for Secplus v1 * -additional warnings * +-Wredundant-decls fixes * FuriHal: print stack overflow task name in console * FuriHal: add missing include Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
This commit is contained in:
@@ -217,7 +217,7 @@ bool stream_delete_and_insert_vaformat(
|
||||
string_init_vprintf(data, format, args);
|
||||
StreamWriteData write_data = {
|
||||
.data = (uint8_t*)string_get_cstr(data), .size = string_size(data)};
|
||||
bool result = stream_delete_and_insert(stream, 0, stream_write_struct, &write_data);
|
||||
bool result = stream_delete_and_insert(stream, delete_size, stream_write_struct, &write_data);
|
||||
string_clear(data);
|
||||
|
||||
return result;
|
||||
@@ -333,4 +333,4 @@ void stream_dump_data(Stream* stream) {
|
||||
printf("\r\n");
|
||||
printf("DATA END\r\n");
|
||||
stream_seek(stream, tell, StreamOffsetFromStart);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user