From 072996e0d3df40dafe17deed82caa22e0fd404ff Mon Sep 17 00:00:00 2001 From: Albert S Date: Sun, 24 May 2020 15:37:47 +0200 Subject: [PATCH] fixed: missing return value for some command handlers --- cli/commanddelete.cpp | 3 --- cli/commandlist.cpp | 1 + cli/commandsearch.cpp | 1 + 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/cli/commanddelete.cpp b/cli/commanddelete.cpp index 4fbb0ec..8431e4c 100644 --- a/cli/commanddelete.cpp +++ b/cli/commanddelete.cpp @@ -121,10 +121,7 @@ int CommandDelete::handle(QStringList arguments) } } - - return 0; - } diff --git a/cli/commandlist.cpp b/cli/commandlist.cpp index 00216ca..84704b4 100644 --- a/cli/commandlist.cpp +++ b/cli/commandlist.cpp @@ -32,4 +32,5 @@ int CommandList::handle(QStringList arguments) Logger::info() << result.fileData.absPath << endl; } + return 0; } diff --git a/cli/commandsearch.cpp b/cli/commandsearch.cpp index 02b95f2..2495959 100644 --- a/cli/commandsearch.cpp +++ b/cli/commandsearch.cpp @@ -33,4 +33,5 @@ int CommandSearch::handle(QStringList arguments) Logger::info() << result.fileData.absPath << endl; } + return 0; }