diff --git a/ngraph/core/include/ngraph/op/constant.hpp b/ngraph/core/include/ngraph/op/constant.hpp index 66a452bc339676..41e990b35abfa1 100644 --- a/ngraph/core/include/ngraph/op/constant.hpp +++ b/ngraph/core/include/ngraph/op/constant.hpp @@ -176,6 +176,8 @@ namespace ngraph // Don't constant fold a constant; it would make a copy bool constant_fold(OutputVector& outputs, const OutputVector& inputs) override { + (void)outputs; + (void)inputs; return false; }