Skip to content

Commit e63dc1c

Browse files
authored
Update cpp/common/src/codingstandards/cpp/deadcode/UnusedVariables.qll
1 parent 70a9304 commit e63dc1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpp/common/src/codingstandards/cpp/deadcode/UnusedVariables.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ module ThirdPass {
287287

288288
class UnusedGlobalOrNamespaceVariable extends SecondPassGlobalOrNspVariable {
289289
UnusedGlobalOrNamespaceVariable() {
290-
// Exclude members whose value is compile time and is potentially used to inintialize a template
290+
// Exclude members whose value is compile time and is potentially used to initialize a template
291291
not maybeACompileTimeTemplateArgument(this)
292292
}
293293
}
@@ -296,7 +296,7 @@ module ThirdPass {
296296
UnusedMemberVariable() {
297297
// No explicit initialization in a constructor
298298
not exists(UserProvidedConstructorFieldInit cfi | cfi.getTarget() = this) and
299-
// Exclude members whose value is compile time and is potentially used to inintialize a template
299+
// Exclude members whose value is compile time and is potentially used to initialize a template
300300
not maybeACompileTimeTemplateArgument(this)
301301
}
302302
}

0 commit comments

Comments
 (0)