aboutsummaryrefslogtreecommitdiff
path: root/src/checker.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2022-02-23 11:29:36 +0000
committergingerBill <bill@gingerbill.org>2022-02-23 11:29:36 +0000
commit196bd735d4c30964182fdf1f374f767ccb0912fa (patch)
tree701f77ada4572141224816c5458895700f4d61ab /src/checker.cpp
parent493bc653b5762514dac8c8941d6564ccf5bb8528 (diff)
Replace local `@(no_red_zone)` with global `-disable-red-zone`
Diffstat (limited to 'src/checker.cpp')
-rw-r--r--src/checker.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/checker.cpp b/src/checker.cpp
index 89e60c258..fe1d362fa 100644
--- a/src/checker.cpp
+++ b/src/checker.cpp
@@ -3128,13 +3128,6 @@ DECL_ATTRIBUTE_PROC(proc_decl_attribute) {
}
}
return true;
- } else if (name == "no_red_zone") {
- if (value != nullptr) {
- error(elem, "Expected no value for '%.*s'", LIT(name));
- } else {
- ac->no_red_zone = true;
- }
- return true;
}
return false;
}