if (operations[i] == fake_operation_build) {
if (validate_parameter_directories) {
- status = fake_validate_parameter_directories(arguments, *data, F_true);
+ status = fake_validate_parameter_directories(arguments, *data);
validate_parameter_directories = F_false;
}
}
else if (operations[i] == fake_operation_clean) {
if (validate_parameter_directories) {
- status = fake_validate_parameter_directories(arguments, *data, F_false);
+ status = fake_validate_parameter_directories(arguments, *data);
validate_parameter_directories = F_false;
}
}
else if (operations[i] == fake_operation_make) {
if (validate_parameter_directories) {
- status = fake_validate_parameter_directories(arguments, *data, F_true);
+ status = fake_validate_parameter_directories(arguments, *data);
validate_parameter_directories = F_false;
}
#endif // _di_fake_process_console_parameters_
#ifndef _di_fake_validate_directories_
- f_return_status fake_validate_parameter_directories(const f_console_arguments arguments, const fake_data data, const bool build_required) {
+ f_return_status fake_validate_parameter_directories(const f_console_arguments arguments, const fake_data data) {
const f_string parameters_name[] = {
fake_long_path_build,
fake_long_path_data,
};
const bool parameters_required[] = {
- build_required,
+ F_false,
F_true,
F_true,
F_false,
* The parameters passed to the process.
* @param data
* The program data.
- * @param build_required
- * Set to TRUE to require the build directory.
- * Set to FALSE to not require the build directory.
*
* @return
* F_none on success.
* Status codes (with error bit) are returned on any problem.
*/
#ifndef _di_fake_validate_parameter_directories_
- extern f_return_status fake_validate_parameter_directories(const f_console_arguments arguments, const fake_data data, const bool build_required) f_gcc_attribute_visibility_internal;
+ extern f_return_status fake_validate_parameter_directories(const f_console_arguments arguments, const fake_data data) f_gcc_attribute_visibility_internal;
#endif // _di_fake_validate_parameter_directories_
#ifdef __cplusplus