2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-09-06 00:45:23 +00:00

[3161] Explicitly initialize uninitialized variables.

Reported by cpp-check.
This commit is contained in:
Marcin Siodelski
2016-09-13 15:07:57 +02:00
parent 9aa2ab27d1
commit 97ae6373fb
2 changed files with 7 additions and 5 deletions

View File

@@ -1020,7 +1020,8 @@ public:
/// @brief Constructor.
PgSqlOptionExchange()
: PgSqlExchange(OPTION_COLUMNS) {
: PgSqlExchange(OPTION_COLUMNS), value_(),
value_len_(0), option_() {
columns_[OPTION_ID_COL] = "option_id";
columns_[CODE_COL] = "code";
columns_[VALUE_COL] = "value";