Commit 107c0a4f authored by Etienne Renault's avatar Etienne Renault
Browse files

clang: remove useless warnings

* tools/dvecompile.cpp: Here.
parent f96fa0c9
Pipeline #22066 passed with stages
in 7 minutes
...@@ -2467,7 +2467,7 @@ void dve_compiler::gen_transition_info() ...@@ -2467,7 +2467,7 @@ void dve_compiler::gen_transition_info()
line(); line();
line("#pragma clang diagnostic push"); line("#pragma clang diagnostic push");
line("#pragma clang diagnostic ignored \"-Waddress-of-array-temporary\""); //line("#pragma clang diagnostic ignored \"-Waddress-of-array-temporary\"");
buf = fmtf("int* guards_per_transition[%zu] = ", transitions.size() ); buf = fmtf("int* guards_per_transition[%zu] = ", transitions.size() );
line(buf); line(buf);
block_begin(); block_begin();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment