Commit f8a658be authored by Utkarsh Ayachit's avatar Utkarsh Ayachit

Fixed warnings in release builds.

parent b9c4dc1c
......@@ -83,6 +83,7 @@ protected:
virtual QVariant currentServerManagerValue(bool use_unchecked) const
{
Q_ASSERT(use_unchecked == false);
Q_UNUSED(use_unchecked);
unsigned int count = vtkSMPropertyHelper(this->propertySM()).GetNumberOfElements();
return QVariant(static_cast<int>(count));
}
......
......@@ -250,8 +250,6 @@ void pqApplyBehavior::showData(pqPipelineSource* source, pqView* view)
{
// Hide input, since the data wasn't shown in a new view, but an existing
// view.
pqDataRepresentation *repr = source->getRepresentation(outputPort, view);
Q_ASSERT(repr);
if (pqPipelineFilter *filter = qobject_cast<pqPipelineFilter *>(source))
{
this->hideInputIfRequired(filter, view);
......
......@@ -341,6 +341,7 @@ void pqStandardViewFrameActionsImplementation::addSpreadSheetViewActions(
{
Q_ASSERT(frame);
Q_ASSERT(spreadSheet);
Q_UNUSED(frame);
new pqSpreadSheetViewDecorator(spreadSheet);
}
......
......@@ -111,6 +111,7 @@ protected:
virtual void setServerManagerValue(bool use_unchecked, const QVariant& value)
{
Q_ASSERT(use_unchecked == false);
Q_UNUSED(use_unchecked);
ValueType val = this->convert(value);
int association = val.first;
......
......@@ -69,6 +69,7 @@ protected:
virtual void setServerManagerValue(bool use_unchecked, const QVariant& value)
{
Q_ASSERT(use_unchecked == false);
Q_UNUSED(use_unchecked);
BEGIN_UNDO_SET("Change representation type");
vtkSMProxy* reprProxy = this->proxySM();
......
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