diff options
author | Camila San <hello@camila.codes> | 2020-05-29 16:07:05 +0300 |
---|---|---|
committer | Kevin Ottens (Rebase PR Action) <er-vin@users.noreply.github.com> | 2020-06-03 10:50:40 +0300 |
commit | 3bae570f29e8c53386d35b0d2f33cbe6b435c0c7 (patch) | |
tree | 93a231d526d0ae70fccb9000e4eeeedf0e423d7c /src/gui/socketapi.cpp | |
parent | e90eb9d717183776b3232bbe09b8e7907ca937c2 (diff) |
Do not declare local variables without an initial value.
Signed-off-by: Camila San <hello@camila.codes>
Diffstat (limited to 'src/gui/socketapi.cpp')
-rw-r--r-- | src/gui/socketapi.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/socketapi.cpp b/src/gui/socketapi.cpp index 8c0ec3912..3daa9bc23 100644 --- a/src/gui/socketapi.cpp +++ b/src/gui/socketapi.cpp @@ -558,7 +558,7 @@ private slots: } void passwordRequired() { - bool ok; + bool ok = false; QString password = QInputDialog::getText(nullptr, tr("Password for share required"), tr("Please enter a password for your link share:"), |