summaryrefslogtreecommitdiff
path: root/docs/markdown/snippets/unset_variable.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/markdown/snippets/unset_variable.md')
-rw-r--r--docs/markdown/snippets/unset_variable.md16
1 files changed, 0 insertions, 16 deletions
diff --git a/docs/markdown/snippets/unset_variable.md b/docs/markdown/snippets/unset_variable.md
deleted file mode 100644
index 7b2bcdbbe..000000000
--- a/docs/markdown/snippets/unset_variable.md
+++ /dev/null
@@ -1,16 +0,0 @@
-## `unset_variable()`
-
-`unset_variable()` can be used to unset a variable. Reading a variable after
-calling `unset_variable()` will raise an exception unless the variable is set
-again.
-
-```meson
-# tests/meson.build
-tests = ['test1', 'test2']
-
-# ...
-
-unset_variable('tests')
-
-# tests is no longer usable until it is set again
-```