From: Morgan Deters Date: Tue, 5 Feb 2013 21:30:17 +0000 (-0500) Subject: Fix a compiler warning in NodeBuilder X-Git-Tag: cvc5-1.0.0~7391^2~15 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1ea7caf0ef8e4ef3db22b6392c9624345eb974e3;p=cvc5.git Fix a compiler warning in NodeBuilder --- diff --git a/src/expr/node_builder.h b/src/expr/node_builder.h index 458bd25fa..5f813dbe8 100644 --- a/src/expr/node_builder.h +++ b/src/expr/node_builder.h @@ -1285,7 +1285,7 @@ void NodeBuilder::internalCopy(const NodeBuilder& nb) { return; } - bool realloced = false; + bool realloced CVC4_UNUSED = false; if(nb.d_nvMaxChildren > d_nvMaxChildren) { realloced = true; realloc(nb.d_nvMaxChildren);