summaryrefslogtreecommitdiff
path: root/source/slang/slang.cpp
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2017-11-04 16:09:48 -0400
committerYong He <yonghe@outlook.com>2017-11-04 16:09:48 -0400
commit288841f66c808af70ad7687f9704c87075129b18 (patch)
treeb6e2e4f5a28be28b28a346f3803121c34bb28f87 /source/slang/slang.cpp
parent664e0da8dff1d04860cc46ce8139cbd47e15c552 (diff)
fixed all warnings
Diffstat (limited to 'source/slang/slang.cpp')
-rw-r--r--source/slang/slang.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/slang/slang.cpp b/source/slang/slang.cpp
index f1d1d6ba2..ecee38777 100644
--- a/source/slang/slang.cpp
+++ b/source/slang/slang.cpp
@@ -962,8 +962,8 @@ spGetTranslationUnitCount(
// Get the output code associated with a specific translation unit
SLANG_API char const* spGetTranslationUnitSource(
- SlangCompileRequest* request,
- int translationUnitIndex)
+ SlangCompileRequest* /*request*/,
+ int /*translationUnitIndex*/)
{
fprintf(stderr, "DEPRECATED: spGetTranslationUnitSource()\n");
return nullptr;