From 873681a3efa1fc59ff949ea5e7c2b1c2d527f69c Mon Sep 17 00:00:00 2001 From: Sebastian Messmer Date: Tue, 30 Jun 2020 00:09:31 -0700 Subject: [PATCH] Silence compiler warning about unused httpClient when explicitly building without update checks --- src/cryfs-cli/Cli.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cryfs-cli/Cli.cpp b/src/cryfs-cli/Cli.cpp index 06ac05d8..9dcf67bf 100644 --- a/src/cryfs-cli/Cli.cpp +++ b/src/cryfs-cli/Cli.cpp @@ -101,6 +101,7 @@ namespace cryfs_cli { } #else # warning Update checks are disabled. The resulting executable will not go online to check for newer versions or known security vulnerabilities. + UNUSED(httpClient); #endif cout << endl; }