[FL-2811] Fix PVS-Studio warnings (#2142)
Co-authored-by: あく <alleteam@gmail.com> Co-authored-by: gornekich <n.gorbadey@gmail.com>
This commit is contained in:
		@@ -94,7 +94,7 @@ bool subghz_scene_save_name_on_event(void* context, SceneManagerEvent event) {
 | 
			
		||||
        return true;
 | 
			
		||||
    } else if(event.type == SceneManagerEventTypeCustom) {
 | 
			
		||||
        if(event.event == SubGhzCustomEventSceneSaveName) {
 | 
			
		||||
            if(strcmp(subghz->file_name_tmp, "")) {
 | 
			
		||||
            if(strcmp(subghz->file_name_tmp, "") != 0) {
 | 
			
		||||
                furi_string_cat_printf(
 | 
			
		||||
                    subghz->file_path, "/%s%s", subghz->file_name_tmp, SUBGHZ_APP_EXTENSION);
 | 
			
		||||
                if(subghz_path_is_file(subghz->file_path_tmp)) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user