Skip to content

Commit 527b537

Browse files
jketemaMathiasVP
andauthored
Apply suggestions from code review
Co-authored-by: Mathias Vorreiter Pedersen <[email protected]>
1 parent c7e5dc2 commit 527b537

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpp/ql/test/library-tests/dataflow/fields/clearning.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ void test()
1717
S s;
1818
**s.x = user_input();
1919
*s.x = 0;
20-
sink(**s.x); // $ clean, as *s.x was overwritten and that contains the tainted **s.x
20+
sink(**s.x); // clean, as *s.x was overwritten and that contains the tainted **s.x
2121
}
2222

2323
{
2424
S s;
2525
**s.x = user_input();
2626
**s.x = 0;
27-
sink(**s.x); // $ clean, as **s.x was overwritten and tainted
27+
sink(**s.x); // clean, as **s.x was overwritten and tainted
2828
}
2929

3030
{

0 commit comments

Comments
 (0)