Skip to content
Snippets Groups Projects
Commit 8b78b996 authored by Oz Linden's avatar Oz Linden
Browse files

add conditional to suppress unused variable warning in Release builds

parent 80b73457
Branches
Tags
No related merge requests found
...@@ -384,7 +384,9 @@ void LLMaterialMgr::onPutResponse(bool success, const LLSD& content) ...@@ -384,7 +384,9 @@ void LLMaterialMgr::onPutResponse(bool success, const LLSD& content)
for (LLSD::array_const_iterator faceIter = response_data.beginArray(); faceIter != response_data.endArray(); ++faceIter) for (LLSD::array_const_iterator faceIter = response_data.beginArray(); faceIter != response_data.endArray(); ++faceIter)
{ {
const LLSD& face_data = *faceIter; # ifndef LL_RELEASE_FOR_DOWNLOAD
const LLSD& face_data = *faceIter; // conditional to avoid unused variable warning
# endif
llassert(face_data.isMap()); llassert(face_data.isMap());
llassert(face_data.has(MATERIALS_CAP_OBJECT_ID_FIELD)); llassert(face_data.has(MATERIALS_CAP_OBJECT_ID_FIELD));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment