summaryrefslogtreecommitdiffstats
path: root/src/pass.cpp
diff options
context:
space:
mode:
authorAnne Jan Brouwer <brouwer@annejan.com>2018-10-12 16:03:22 +0200
committerAnne Jan Brouwer <brouwer@annejan.com>2018-10-12 16:03:22 +0200
commit69512ff6f286371d2846b84a809bbfbc9a7e7289 (patch)
tree91f6c2db783c1731ba8232eeb3a27c3a7f885d3a /src/pass.cpp
parent6315d1e9371864f0ed6b3854a4b50561b062befe (diff)
Some cleanup with help of Clang-Tidy and Clazy (part 2 of x)
Diffstat (limited to 'src/pass.cpp')
-rw-r--r--src/pass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pass.cpp b/src/pass.cpp
index 788b868b..70fee7a6 100644
--- a/src/pass.cpp
+++ b/src/pass.cpp
@@ -184,7 +184,7 @@ QList<UserInfo> Pass::listKeys(QString keystring, bool secret) {
*/
void Pass::finished(int id, int exitCode, const QString &out,
const QString &err) {
- PROCESS pid = static_cast<PROCESS>(id);
+ auto pid = static_cast<PROCESS>(id);
if (exitCode != 0) {
emit processErrorExit(exitCode, err);
return;