From 401177d01ed9501f4735809a3d9460bd9696ae35 Mon Sep 17 00:00:00 2001 From: Alexander Borsuk Date: Thu, 27 Jan 2022 00:05:03 +0100 Subject: [PATCH] Minor warning fixes Signed-off-by: Alexander Borsuk --- drape_frontend/gui/ruler.cpp | 2 +- drape_frontend/user_mark_shapes.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drape_frontend/gui/ruler.cpp b/drape_frontend/gui/ruler.cpp index bbc13c018c..9c6224e1e6 100644 --- a/drape_frontend/gui/ruler.cpp +++ b/drape_frontend/gui/ruler.cpp @@ -39,7 +39,7 @@ dp::BindingInfo GetBindingInfo() uint8_t offset = 0; offset += dp::FillDecl(0, "a_position", info, offset); offset += dp::FillDecl(1, "a_normal", info, offset); - offset += dp::FillDecl(2, "a_colorTexCoords", info, offset); + /*offset += */dp::FillDecl(2, "a_colorTexCoords", info, offset); return info; } diff --git a/drape_frontend/user_mark_shapes.cpp b/drape_frontend/user_mark_shapes.cpp index 2ff2ff1a31..756d1542d6 100644 --- a/drape_frontend/user_mark_shapes.cpp +++ b/drape_frontend/user_mark_shapes.cpp @@ -110,7 +110,7 @@ struct UserPointVertex : public gpu::BaseVertex offset += dp::FillDecl(1, "a_normalAndAnimateOrZ", info, offset); offset += dp::FillDecl(2, "a_texCoords", info, offset); - offset += dp::FillDecl(3, "a_color", info, offset); + /*offset += */dp::FillDecl(3, "a_color", info, offset); return info; }