aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/expand/rust-macro-expand.h
diff options
context:
space:
mode:
authorSimplyTheOther <simplytheother@gmail.com>2020-12-14 15:41:48 +0800
committerSimplyTheOther <simplytheother@gmail.com>2020-12-14 15:41:48 +0800
commit52cc571b308d3d0103dd498fd277859e2116791a (patch)
tree46eb33355b3d0351d4743d19d1d5c46ae9d5677c /gcc/rust/expand/rust-macro-expand.h
parent296916261846a9eaab03335d5e12a31271f2cf76 (diff)
downloadgcc-52cc571b308d3d0103dd498fd277859e2116791a.zip
gcc-52cc571b308d3d0103dd498fd277859e2116791a.tar.gz
gcc-52cc571b308d3d0103dd498fd277859e2116791a.tar.bz2
Prevented several warnings about unused parameters
Diffstat (limited to 'gcc/rust/expand/rust-macro-expand.h')
-rw-r--r--gcc/rust/expand/rust-macro-expand.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/expand/rust-macro-expand.h b/gcc/rust/expand/rust-macro-expand.h
index c8c7f35..a0c1a076 100644
--- a/gcc/rust/expand/rust-macro-expand.h
+++ b/gcc/rust/expand/rust-macro-expand.h
@@ -15,7 +15,7 @@ class MacroInvocation;
struct ExpansionCfg
{
// features?
- unsigned int recursion_limit; // TODO: determine default recursion limit
+ unsigned int recursion_limit = 50; // TODO: determine default recursion limit
// trace macros?
// should test?
// more default stuff?