调整未初始化值

This commit is contained in:
13038267101 2022-11-03 11:05:14 +08:00
parent 40a0af9ef3
commit cc8c6a4822
1 changed files with 1 additions and 2 deletions

View File

@ -207,9 +207,8 @@ namespace hg_imgproc
// construction
public:
imgproc(int pid) : pid_(pid),papersize_(pid_)
, img_statu_(SANE_Image_Statu_OK), my_path_(0)
, img_statu_(SANE_Image_Statu_OK), my_path_(hg_log::pe_path()), param_({ 0 }), img_conf_({0})
{
my_path_ = hg_log::pe_path();
}
~imgproc()
{