Skip to content

Commit

Permalink
getting rid of ref to ptr variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Colfenor committed Sep 3, 2020
1 parent e6cb74c commit c229cd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/keepassxc-cli.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ void enterInteractiveMode(const QStringList& arguments)
cmd->currentDatabase = currentDatabase;
cmd->execute(args);
currentDatabase = cmd->currentDatabase;
cmd->currentDatabase = nullptr;
cmd->currentDatabase.reset();
}

if (currentDatabase) {
Expand Down

0 comments on commit c229cd5

Please sign in to comment.