mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
Tweak one of ES.10's examples for verisimilitude. (#1611)
For some reason the trailing `e = 3` seemed more of a red flag than anything else about this line. Let's imply that the programmer is trying to make some constants for hexadecimal translation.
This commit is contained in:
parent
46dadd0b16
commit
6e0f8ace0b
|
@ -10314,7 +10314,7 @@ or:
|
|||
|
||||
##### Example
|
||||
|
||||
int a = 7, b = 9, c, d = 10, e = 3;
|
||||
int a = 10, b = 11, c = 12, d, e = 14, f = 15;
|
||||
|
||||
In a long list of declarators it is easy to overlook an uninitialized variable.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user