aws / aws-sdk-cpp

AWS SDK for C++
Apache License 2.0
1.98k stars 1.06k forks source link

Fix unused private field warn as error in case of imds v1 disabled #3034

Closed SergeyRyabinin closed 4 months ago

SergeyRyabinin commented 4 months ago

Issue #, if available: on compilers with "unused-private-field" warning implemented, a variable starts to throw a compiler warning as error Description of changes: add AWS_UNREFERENCED_PARAM and trace Check all that applies:

Check which platforms you have built SDK on to verify the correctness of this PR.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.