Fix Coverity 1386194 Initialize class member
Only a problem if stuff is not done in the expected order. Initialize to zero so at least things go wrong but they don't go wildly wrong.
This commit is contained in:
parent
9902a2df31
commit
22f0a89a64
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ public:
|
|||
static bcrypt from_hash_string(const std::string& input);
|
||||
static bcrypt hash_pw(const std::string& password, bcrypt& salt);
|
||||
|
||||
std::size_t iteration_count_delim_pos;
|
||||
std::size_t iteration_count_delim_pos = 0;
|
||||
|
||||
static bool is_valid_prefix(const std::string& hash);
|
||||
std::string get_salt() const;
|
||||
|
|
Loading…
Add table
Reference in a new issue