From 6e0f8ace0b22a0e74784e6ff76b93dadfb6e4c8f Mon Sep 17 00:00:00 2001 From: Arthur O'Dwyer Date: Thu, 14 May 2020 14:43:48 -0400 Subject: [PATCH] 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. --- CppCoreGuidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index fd958ef..7ae4769 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -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.