浏览代码

Remove redundant float f

Kim Kulling 5 年之前
父节点
当前提交
1f348c5fc0
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      code/AssetLib/3DS/3DSExporter.cpp

+ 0 - 1
code/AssetLib/3DS/3DSExporter.cpp

@@ -339,7 +339,6 @@ void Discreet3DSExporter::WriteMaterials() {
             writer.PutU2(static_cast<uint16_t>(shading_mode_out));
         }
 
-        float f;
         if (mat.Get(AI_MATKEY_SHININESS, f) == AI_SUCCESS) {
             ChunkWriter chunk(writer, Discreet3DS::CHUNK_MAT_SHININESS);
             WritePercentChunk(f);