Skip to content

Commit 9e46239

Browse files
committed
CPP: remove 13 month old deprecation that override an even older deprecation
1 parent 417def8 commit 9e46239

File tree

1 file changed

+0
-4
lines changed
  • cpp/ql/lib/semmle/code/cpp/models/implementations

1 file changed

+0
-4
lines changed

cpp/ql/lib/semmle/code/cpp/models/implementations/Printf.qll

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ private class Printf extends FormattingFunction, AliasFunction {
2323

2424
override int getFormatParameterIndex() { result = 0 }
2525

26-
deprecated override predicate isWideCharDefault() { hasName(["wprintf", "wprintf_s"]) }
27-
2826
override predicate isOutputGlobal() { any() }
2927

3028
override predicate parameterNeverEscapes(int n) { n = 0 }
@@ -49,8 +47,6 @@ private class Fprintf extends FormattingFunction {
4947

5048
override int getFormatParameterIndex() { result = 1 }
5149

52-
deprecated override predicate isWideCharDefault() { hasName("fwprintf") }
53-
5450
override int getOutputParameterIndex(boolean isStream) { result = 0 and isStream = true }
5551
}
5652

0 commit comments

Comments
 (0)