gcc compiler warnings
This commit is contained in:
parent
d8fbbc9e2a
commit
e3d60f0b8c
|
|
@ -186,6 +186,9 @@ InternalPowerModel::findAxisValues(float in_slew,
|
|||
axis_value3 = axisValue(model_->axis3(), in_slew, load_cap);
|
||||
break;
|
||||
default:
|
||||
axis_value1 = 0.0;
|
||||
axis_value2 = 0.0;
|
||||
axis_value3 = 0.0;
|
||||
criticalError(229, "unsupported table order");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -242,6 +242,9 @@ GateTableModel::findAxisValues(const TableModel *model,
|
|||
related_out_cap);
|
||||
break;
|
||||
default:
|
||||
axis_value1 = 0.0;
|
||||
axis_value2 = 0.0;
|
||||
axis_value3 = 0.0;
|
||||
criticalError(239, "unsupported table order");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue