From 988cd6769c6c2cb4b9baf448b1f94875935dba42 Mon Sep 17 00:00:00 2001 From: "ntfs.hard" Date: Mon, 30 Mar 2020 01:38:21 +0300 Subject: [PATCH] unused var --- StandAlone/StandAlone.cpp | 1 - StandAlone/spirv-remap.cpp | 2 -- 2 files changed, 3 deletions(-) diff --git a/StandAlone/StandAlone.cpp b/StandAlone/StandAlone.cpp index c3ae2b4a..bbd1a271 100644 --- a/StandAlone/StandAlone.cpp +++ b/StandAlone/StandAlone.cpp @@ -1139,7 +1139,6 @@ void CompileAndLinkShaderUnits(std::vector compUnits) for (int stage = 0; stage < EShLangCount; ++stage) { if (program.getIntermediate((EShLanguage)stage)) { std::vector spirv; - std::string warningsErrors; spv::SpvBuildLogger logger; glslang::SpvOptions spvOptions; if (Options & EOptionDebug) diff --git a/StandAlone/spirv-remap.cpp b/StandAlone/spirv-remap.cpp index 5e2ed0ae..48878c3a 100644 --- a/StandAlone/spirv-remap.cpp +++ b/StandAlone/spirv-remap.cpp @@ -334,8 +334,6 @@ int main(int argc, char** argv) if (outputDir.empty()) usage(argv[0], "Output directory required"); - std::string errmsg; - // Main operations: read, remap, and write. execute(inputFile, outputDir, opts, verbosity);