Skip to main content
assistive.skiplink.to.breadcrumbs
assistive.skiplink.to.header.menu
assistive.skiplink.to.action.menu
assistive.skiplink.to.quick.search
Log in
Confluence
Spaces
Hit enter to search
Help
Online Help
Keyboard Shortcuts
Feed Builder
What’s new
Available Gadgets
About Confluence
Log in
SEI CERT C Coding Standard
Pages
Boards
Space shortcuts
Dashboard
Secure Coding Home
Android
C
C++
Java
Perl
Page tree
Browse pages
Configure
Space tools
View Page
A
t
tachments (0)
Page History
Page Information
View in Hierarchy
View Source
Export to PDF
Export to Word
Pages
…
SEI CERT C Coding Standard
3 Recommendations
Rec. 02. Declarations and Initialization (DCL)
DCL01-C. Do not reuse variable names in subscopes
Page Information
Title:
DCL01-C. Do not reuse variable names in subscopes
Author:
Hal Burch
Jun 16, 2006
Last Changed by:
Jill Britton
Apr 20, 2023
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/QNYxBQ
Export As:
Word
·
PDF
Incoming Links
SEI CERT Perl Coding Standard (1)
Page:
DCL01-PL. Do not reuse variable names in subscopes
SEI CERT C Coding Standard (3)
Page:
DCL02-C. Use visually distinct identifiers
Page:
DCL19-C. Minimize the scope of variables and functions
Page:
PRE00-C. Prefer inline or static functions to function-like macros
Hierarchy
Parent Page
Page:
Rec. 02. Declarations and Initialization (DCL)
Labels
Global Labels (9)
ldra
compass/rose
splint
android-applicable
exceptions
rose-complete
recommendation
dcl
klocwork
Recent Changes
Time
Editor
Apr 20, 2023 05:48
Jill Britton
View Changes
Apr 27, 2022 08:28
Jill Britton
View Changes
Aug 18, 2021 02:43
Svyatoslav Razmyslov
View Changes
Jun 24, 2021 08:55
Svyatoslav Razmyslov
View Changes
Apr 23, 2021 08:57
Jill Britton
View Page History
Outgoing Links
External Links (11)
https://www.kb.cert.org/vulnotes/bymetric?searchview&qu…
https://pvs-studio.com/en/docs/warnings/v561/
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://pvs-studio.com/en/docs/warnings/v703/
https://www.mathworks.com/help/bugfinder/ref/certcrec.dcl01…
https://pvs-studio.com/en/docs/warnings/v711/
https://wiki.sei.cmu.edu/confluence/display/c/PVS-Studio
https://pvs-studio.com/en/docs/warnings/v688/
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://pvs-studio.com/en/docs/warnings/v2015/
SEI CERT C++ Coding Standard (2)
Page:
VOID DCL01-CPP. Do not reuse variable names in subscopes
Home page:
SEI CERT C++ Coding Standard
SEI CERT C Coding Standard (28)
Page:
ECLAIR
Page:
PVS-Studio_V
Page:
Astrée
Page:
RuleChecker_V
Page:
Helix QAC_V
Page:
Helix QAC
Page:
Axivion Bauhaus Suite_V
Page:
PC-lint Plus_V
Page:
CodeSonar_V
Page:
AA. Bibliography
Page:
CodeSonar
Page:
Parasoft
Page:
LDRA
Page:
Polyspace Bug Finder
Page:
Splint_V
Page:
LDRA_V
Page:
Rose
Page:
Klocwork
Page:
Klocwork_V
Home page:
SEI CERT C Coding Standard
Page:
PC-lint Plus
Page:
Astrée_V
Page:
Polyspace Bug Finder_V
Page:
Axivion Bauhaus Suite
Page:
RuleChecker
Page:
ECLAIR_V
Page:
Splint
Page:
Parasoft_V
Overview
Content Tools
{"serverDuration": 104, "requestCorrelationId": "82a1f28ee54f0e62"}