Skip to content

Commit 584e6bc

Browse files
committed
Remove unused flow label
1 parent 584ee20 commit 584e6bc

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

javascript/frameworks/ui5/src/UI5LogInjection/UI5LogsToHttp.ql

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@ class ClientRequestInjectionVector extends DataFlow::Node {
2727
}
2828

2929
class UI5LogEntryFlowState extends DataFlow::FlowLabel {
30-
UI5LogEntryFlowState() {
31-
this = ["not-logged-not-accessed", "logged-not-accessed", "logged-and-accessed"]
32-
}
30+
UI5LogEntryFlowState() { this = ["not-logged-not-accessed", "logged-and-accessed"] }
3331
}
3432

3533
class UI5LogEntryToHttp extends TaintTracking::Configuration {

javascript/frameworks/ui5/test/queries/UI5LogInjection/log-entry-flows-to-sinks/UI5LogsToHttp.expected

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
WARNING: type 'Configuration' has been deprecated and may be removed in future (UI5LogsToHttp.ql:35,33-61)
1+
WARNING: type 'Configuration' has been deprecated and may be removed in future (UI5LogsToHttp.ql:33,33-61)
22
WARNING: type 'FlowLabel' has been deprecated and may be removed in future (UI5LogsToHttp.ql:29,36-55)
3-
WARNING: type 'FlowLabel' has been deprecated and may be removed in future (UI5LogsToHttp.ql:38,52-71)
4-
WARNING: type 'FlowLabel' has been deprecated and may be removed in future (UI5LogsToHttp.ql:44,47-66)
5-
WARNING: type 'FlowLabel' has been deprecated and may be removed in future (UI5LogsToHttp.ql:45,5-24)
6-
WARNING: type 'FlowLabel' has been deprecated and may be removed in future (UI5LogsToHttp.ql:71,50-69)
3+
WARNING: type 'FlowLabel' has been deprecated and may be removed in future (UI5LogsToHttp.ql:36,52-71)
4+
WARNING: type 'FlowLabel' has been deprecated and may be removed in future (UI5LogsToHttp.ql:42,47-66)
5+
WARNING: type 'FlowLabel' has been deprecated and may be removed in future (UI5LogsToHttp.ql:43,5-24)
6+
WARNING: type 'FlowLabel' has been deprecated and may be removed in future (UI5LogsToHttp.ql:69,50-69)
77
nodes
88
| webapp/controller/app.controller.js:11:11:11:21 | input: null |
99
| webapp/controller/app.controller.js:17:13:17:48 | input |

0 commit comments

Comments
 (0)