args.cc (fstransform-0.9.3-src) | : | args.cc (fstransform-0.9.4) | ||
---|---|---|---|---|
skipping to change at line 34 | skipping to change at line 34 | |||
*/ | */ | |||
#include "first.hh" | #include "first.hh" | |||
#include "args.hh" // for fr_args | #include "args.hh" // for fr_args | |||
FT_NAMESPACE_BEGIN | FT_NAMESPACE_BEGIN | |||
/** default constructor */ | /** default constructor */ | |||
fr_args::fr_args() | fr_args::fr_args() | |||
: program_name("fsremap"), root_dir(NULL), io_args(), ui_arg(NULL), umount_c | : program_name("fsremap"), root_dir(NULL), | |||
md(NULL), | io_args(), mount_points(), loop_dev(NULL), | |||
ui_arg(NULL), cmd_losetup(NULL), cmd_umount(NULL), | ||||
storage_size(), job_id(FC_JOB_ID_AUTODETECT), job_clear(FC_CLEAR_AUTODETEC T), | storage_size(), job_id(FC_JOB_ID_AUTODETECT), job_clear(FC_CLEAR_AUTODETEC T), | |||
io_kind(FC_IO_AUTODETECT), ui_kind(FC_UI_NONE), | io_kind(FC_IO_AUTODETECT), ui_kind(FC_UI_NONE), | |||
force_run(false), simulate_run(false), ask_questions(true) | force_run(false), simulate_run(false), ask_questions(false) | |||
{ | { | |||
ft_size i, n; | ft_size i, n; | |||
for (i = 0, n = sizeof(io_args)/sizeof(io_args[0]); i < n; i++) | for (i = 0, n = sizeof(io_args)/sizeof(io_args[0]); i < n; i++) | |||
io_args[i] = NULL; | io_args[i] = NULL; | |||
for (i = 0, n = sizeof(mount_points)/sizeof(mount_points[0]); i < n; i++) | ||||
mount_points[i] = NULL; | ||||
for (i = 0, n = sizeof(storage_size)/sizeof(storage_size[0]); i < n; i++) | for (i = 0, n = sizeof(storage_size)/sizeof(storage_size[0]); i < n; i++) | |||
storage_size[i] = 0; | storage_size[i] = 0; | |||
} | } | |||
FT_NAMESPACE_END | FT_NAMESPACE_END | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 6 lines changed or added |