Skip to content

Commit

Permalink
The left operand of '+' is a garbage value (#3041)
Browse files Browse the repository at this point in the history
  • Loading branch information
Coeur committed May 1, 2022
1 parent 88a0b29 commit d498aa1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion macosx/InfoActivityViewController.mm
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ - (void)awakeFromNib
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;
Expand Down
2 changes: 1 addition & 1 deletion macosx/InfoGeneralViewController.mm
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ - (void)awakeFromNib
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;
Expand Down

0 comments on commit d498aa1

Please sign in to comment.