for (uint8_t i = 0; i < fake_build_stage_total_d; ++i) {
+ values[i]->used = 0;
+
*status = f_string_dynamic_append_nulless(data->path_build_stage, values[i]);
if (F_status_is_error_not(*status) && data->process.used) {
*status = f_string_dynamic_append_nulless(data->process, values[i]);
- }
- if (F_status_is_error_not(*status)) {
- *status = f_string_dynamic_append_nulless(fake_build_stage_separate_s, values[i]);
+ if (F_status_is_error_not(*status)) {
+ *status = f_string_dynamic_append_nulless(fake_build_stage_separate_s, values[i]);
+ }
}
- if (F_status_is_error_not(*status)) {
+ if (F_status_is_error_not(*status) && names[i].used) {
*status = f_string_dynamic_append_nulless(names[i], values[i]);
- }
- if (F_status_is_error_not(*status)) {
- *status = f_string_dynamic_append_nulless(fake_build_stage_separate_s, values[i]);
+ if (F_status_is_error_not(*status)) {
+ *status = f_string_dynamic_append_nulless(fake_build_stage_separate_s, values[i]);
+ }
}
if (F_status_is_error_not(*status)) {