The left operand of '+' is a garbage value (#3041)

This commit is contained in:
Antoine Cœur
2022-05-01 20:26:45 +08:00
committed by GitHub
parent 88a0b292d9
commit d498aa1ae1
2 changed files with 2 additions and 2 deletions

View File

@@ -94,7 +94,7 @@
self.fSeedTimeLabel
];
CGFloat oldMaxWidth = 0.0, originX, newMaxWidth = 0.0;
CGFloat oldMaxWidth = 0.0, originX = 0.0, newMaxWidth = 0.0;
for (NSTextField* label in labels)
{
NSRect const oldFrame = label.frame;

View File

@@ -67,7 +67,7 @@
self.fDataLocationLabel,
];
CGFloat oldMaxWidth = 0.0, originX, newMaxWidth = 0.0;
CGFloat oldMaxWidth = 0.0, originX = 0.0, newMaxWidth = 0.0;
for (NSTextField* label in labels)
{
NSRect const oldFrame = label.frame;