summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2024-12-28 19:04:47 +1100
committerquou <quou@disroot.org>2024-12-28 19:05:47 +1100
commit6e18511dccd3b1f73110f6d719f7d476a0bf7fba (patch)
tree465eb2bb94ac6314a3dc94d5723ecea9189d9a2d /sc
parent7d8c72feb8041a6757a9dacb4e9d8017a689bec4 (diff)
fix warnings
Diffstat (limited to 'sc')
-rw-r--r--sc/includer.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/includer.cpp b/sc/includer.cpp
index 69d9b6a..485a679 100644
--- a/sc/includer.cpp
+++ b/sc/includer.cpp
@@ -14,6 +14,9 @@ IncludeResult* Includer::includeSystem(
const char* includerName,
size_t inclusionDepth
) {
+ (void)headerName;
+ (void)includerName;
+ (void)inclusionDepth;
return 0;
}
@@ -27,6 +30,7 @@ IncludeResult* Includer::includeLocal(
char* src;
size_t src_size;
std::filesystem::path inc(includer_name);
+ (void)inclusionDepth;
inc.remove_filename();
inc /= header_name;
auto hn = std::filesystem::absolute(inc).string();