diff --git a/sdk/storage/azure-storage-common/src/storage_retry_policy.cpp b/sdk/storage/azure-storage-common/src/storage_retry_policy.cpp index 4d2e9547210..035a23aa2bd 100644 --- a/sdk/storage/azure-storage-common/src/storage_retry_policy.cpp +++ b/sdk/storage/azure-storage-common/src/storage_retry_policy.cpp @@ -11,6 +11,7 @@ namespace Azure { namespace Storage { namespace _internal { const std::unique_ptr& response, const Core::Http::Policies::RetryOptions& retryOptions) const { + (void)retryOptions; if (static_cast>(response->GetStatusCode()) >= 400) {