Skip to content

Commit 945cdef

Browse files
authored
Update DivideByZeroUsingReturnValue.expected
1 parent c790b0f commit 945cdef

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

cpp/ql/test/experimental/query-tests/Security/CWE/CWE-369/semmle/tests/DivideByZeroUsingReturnValue.expected

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,7 @@
2626
| test.cpp:258:3:258:10 | call to badMyDiv | Can lead to division by 0, since the function getSize can return a value 0. |
2727
| test.cpp:259:3:259:10 | call to badMyDiv | Can lead to division by 0, since the function getSize can return a value 2. |
2828
| test.cpp:260:3:260:13 | call to badMySubDiv | Can lead to division by 0, since the function getSize can return a value 3. |
29-
| test.cpp:260:3:260:13 | call to badMySubDiv | Can lead to division by 0, since the function getSize can return a value -1. |
3029
| test.cpp:263:5:263:15 | call to badMySubDiv | Can lead to division by 0, since the function getSize can return a value 3. |
31-
| test.cpp:263:5:263:15 | call to badMySubDiv | Can lead to division by 0, since the function getSize can return a value -1. |
32-
| test.cpp:265:5:265:15 | call to badMySubDiv | Can lead to division by 0, since the function getSize can return a value -1. |
3330
| test.cpp:269:5:269:12 | call to badMyDiv | Can lead to division by 0, since the function getSize can return a value 0. |
3431
| test.cpp:273:5:273:12 | call to badMyDiv | Can lead to division by 0, since the function getSize can return a value 3. |
3532
| test.cpp:275:5:275:12 | call to badMyDiv | Can lead to division by 0, since the function getSize can return a value -1. |

0 commit comments

Comments
 (0)