Resolve compiler warnings
This commit is contained in:
@@ -98,9 +98,6 @@ OTHER_FILES += \
|
||||
../ATBUpdateTool.ini
|
||||
|
||||
|
||||
FORMS += \
|
||||
mainwindow.ui
|
||||
|
||||
##########################################################################################
|
||||
# for running program on target through QtCreator
|
||||
contains( CONFIG, PTU5 ) {
|
||||
|
||||
@@ -405,7 +405,7 @@ std::optional<QString> GitClient::gitPull() {
|
||||
export GIT_SSH_COMMAND="ssh -i /opt/app/tools/atbupdate/.keys/id_ed25519_ptuConfig -o StrictHostKeyChecking=no"
|
||||
|
||||
... or use separate known_hosts file:
|
||||
export GIT_SSH_COMMAND="ssh -i /mypath/.keys/id_ed25519 -o StrictHostKeyChecking=yes -o UserKnownHostsFile=/opt/app/tools/atbupdate/.keys/known_hosts
|
||||
export GIT_SSH_COMMAND="ssh -i /mypath/.keys/id_ed25519 -o StrictHostKeyChecking=yes -o UserKnownHostsFile=/opt/app/tools/atbupdate/.keys/known_hosts"
|
||||
git pull
|
||||
|
||||
leads to the following warning/error message:
|
||||
|
||||
@@ -178,6 +178,9 @@ QString Utils::zoneName(quint8 i) {
|
||||
//if (i < (sizeof(zName)/sizeof(char const *))) {
|
||||
// return zName[i];
|
||||
//}
|
||||
|
||||
Q_UNUSED(i)
|
||||
|
||||
return "---";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user