qcustomsplot: Fix Clang Warnings [core.UndefinedBinaryOperatorResult]
qcustomplot.cpp:34001:37: warning: The left operand of '-' is a garbage value [core.UndefinedBinaryOperatorResult] qcustomplot.cpp:34001:37: warning: The right operand of '-' is a garbage value [core.UndefinedBinaryOperatorResult]
This commit is contained in:
parent
075ee9138a
commit
a0328bdb03
|
@ -33995,7 +33995,7 @@ void QCPPolarAxisAngular::mouseMoveEvent(QMouseEvent *event, const QPointF &star
|
|||
{
|
||||
doReplot = true;
|
||||
double angleCoordStart, radiusCoordStart;
|
||||
double angleCoord, radiusCoord;
|
||||
double angleCoord = 0.0, radiusCoord = 0.0;
|
||||
pixelToCoord(startPos, angleCoordStart, radiusCoordStart);
|
||||
pixelToCoord(event->pos(), angleCoord, radiusCoord);
|
||||
double diff = angleCoordStart - angleCoord;
|
||||
|
|
Loading…
Reference in New Issue