From 34939dcb1027f1ad323bbfed985b3510f4b46405 Mon Sep 17 00:00:00 2001 From: chcurran <82187351+carlitosan@users.noreply.github.com> Date: Thu, 26 Aug 2021 13:14:21 -0700 Subject: [PATCH] add missing [[maybe_unused]] tags to Store() calls of serializers Signed-off-by: chcurran <82187351+carlitosan@users.noreply.github.com> --- .../Code/Source/ElementInformationSerializer.inl | 3 ++- .../Code/Source/ExpressionPrimitivesSerializers.inl | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Gems/ExpressionEvaluation/Code/Source/ElementInformationSerializer.inl b/Gems/ExpressionEvaluation/Code/Source/ElementInformationSerializer.inl index 9796bbb39b..c2cd377039 100644 --- a/Gems/ExpressionEvaluation/Code/Source/ElementInformationSerializer.inl +++ b/Gems/ExpressionEvaluation/Code/Source/ElementInformationSerializer.inl @@ -107,7 +107,8 @@ namespace AZ ( rapidjson::Value& outputValue , const void* inputValue , const void* defaultValue - , const Uuid& valueTypeId, JsonSerializerContext& context) override + , [[maybe_unused]] const Uuid& valueTypeId + , JsonSerializerContext& context) override { namespace JSR = JsonSerializationResult; diff --git a/Gems/ExpressionEvaluation/Code/Source/ExpressionPrimitivesSerializers.inl b/Gems/ExpressionEvaluation/Code/Source/ExpressionPrimitivesSerializers.inl index 1eaee38702..be9ddb4f20 100644 --- a/Gems/ExpressionEvaluation/Code/Source/ExpressionPrimitivesSerializers.inl +++ b/Gems/ExpressionEvaluation/Code/Source/ExpressionPrimitivesSerializers.inl @@ -89,7 +89,8 @@ namespace AZ ( rapidjson::Value& outputValue , const void* inputValue , const void* defaultValue - , const Uuid& valueTypeId, JsonSerializerContext& context) override + , [[maybe_unused]] const Uuid& valueTypeId + , JsonSerializerContext& context) override { namespace JSR = JsonSerializationResult;