Message-ID: X-RT-Original-Encoding: utf-8 Content-Transfer-Encoding: binary X-Mailer: MIME-tools 5.508 (Entity 5.508) MIME-Version: 1.0 In-Reply-To: References: <5a3073d68c236_601632732824454@ss1435.mail> X-RT-Interface: Web Content-Type: text/plain; charset="utf-8" Content-Disposition: inline RT-Send-CC: Content-Length: 588 > Coverity is trying each enum value and the final index value is out of range of the array indexes give C is zero based. But the flagged code is not even an array _access_, it is an array _declaration_. > We could also just mark these as intentional and ignore them. This is what I would be more inclined to do. I still do not understand how using [ + 1] for the array size would help, but given that I expect this code to be rewritten pretty soon anyway, feel free to make the warning go away in any way you deem appropriate and let's not waste any more time discussing this.