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:
Alexis La Goutte 2022-01-08 16:04:11 +00:00 committed by A Wireshark GitLab Utility
parent 075ee9138a
commit a0328bdb03
1 changed files with 1 additions and 1 deletions

View File

@ -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;