Commit 88a73c4
committed
test_lTCPWindowTxAdd_nothing_to_do(): Fix TCP window initialization
Under Gcc 11, this expression in the tested function lTCPWindowTxAdd()
was always true, leading to imperfect coverage:
pxSegment->lDataLength < pxSegment->lMaxLength
With Gcc 13, they were both 0.
Let's add zero-initialization to make this what's tested for.1 parent 66e54ed commit 88a73c4
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1050 | 1050 | | |
1051 | 1051 | | |
1052 | 1052 | | |
| 1053 | + | |
1053 | 1054 | | |
1054 | 1055 | | |
1055 | 1056 | | |
1056 | 1057 | | |
1057 | 1058 | | |
1058 | 1059 | | |
1059 | | - | |
| 1060 | + | |
1060 | 1061 | | |
1061 | 1062 | | |
1062 | 1063 | | |
| |||
1068 | 1069 | | |
1069 | 1070 | | |
1070 | 1071 | | |
1071 | | - | |
1072 | 1072 | | |
1073 | 1073 | | |
1074 | 1074 | | |
| |||
0 commit comments