mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-23 05:24:46 -07:00
Fix PVS warnings (#4277)
* Fixing PVS warns * pvs: additional fixes --------- Co-authored-by: hedger <hedger@nanode.su>
This commit is contained in:
@@ -293,7 +293,7 @@ static void rpc_system_storage_list_process(const PB_Main* request, void* contex
|
||||
finish = true;
|
||||
}
|
||||
|
||||
while(!finish) {
|
||||
while(!finish) { //-V1044
|
||||
FileInfo fileinfo;
|
||||
char* name = malloc(MAX_NAME_LENGTH + 1);
|
||||
if(storage_dir_read(dir, &fileinfo, name, MAX_NAME_LENGTH)) {
|
||||
|
||||
Reference in New Issue
Block a user