From 1f348c5fc067bebed79fa7a8f2246984a709a1f6 Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Tue, 4 Aug 2020 20:55:29 +0200 Subject: [PATCH] Remove redundant float f --- code/AssetLib/3DS/3DSExporter.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/code/AssetLib/3DS/3DSExporter.cpp b/code/AssetLib/3DS/3DSExporter.cpp index ab0a5dbd2..ad8e10afe 100644 --- a/code/AssetLib/3DS/3DSExporter.cpp +++ b/code/AssetLib/3DS/3DSExporter.cpp @@ -339,7 +339,6 @@ void Discreet3DSExporter::WriteMaterials() { writer.PutU2(static_cast(shading_mode_out)); } - float f; if (mat.Get(AI_MATKEY_SHININESS, f) == AI_SUCCESS) { ChunkWriter chunk(writer, Discreet3DS::CHUNK_MAT_SHININESS); WritePercentChunk(f);