Fix a compiler warning in NodeBuilder
authorMorgan Deters <mdeters@cs.nyu.edu>
Tue, 5 Feb 2013 21:30:17 +0000 (16:30 -0500)
committerMorgan Deters <mdeters@cs.nyu.edu>
Tue, 5 Feb 2013 21:37:54 +0000 (16:37 -0500)
src/expr/node_builder.h

index 458bd25faca2110738fe06ddc3d81cad8162f83e..5f813dbe860771b595bdb975b3f523f53005aae5 100644 (file)
@@ -1285,7 +1285,7 @@ void NodeBuilder<nchild_thresh>::internalCopy(const NodeBuilder<N>& nb) {
     return;
   }
 
-  bool realloced = false;
+  bool realloced CVC4_UNUSED = false;
   if(nb.d_nvMaxChildren > d_nvMaxChildren) {
     realloced = true;
     realloc(nb.d_nvMaxChildren);