-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed #4369 (false positive: Variable 'i' is assigned a value that is…
… never used)
- Loading branch information
Showing
3 changed files
with
179 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
1 comment
on commit aebdb37
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It mostly looks good. I'd just like those typedefs removed. Thanks.
I am not a fan of such typedefs.
In my humble opinion it is more clear in the code if you write
Than if you write
With the former code somebody can see immediately what it is and what can be done with it. With the latter code somebody has to lookup the typedef to see what it is.
Please remove these typedefs and write the type in the code instead.