diff options
| author | Eric Haszlakiewicz <erh+git@nimenees.com> | 2016-07-30 18:27:53 +0000 |
|---|---|---|
| committer | Eric Haszlakiewicz <erh+git@nimenees.com> | 2016-07-30 18:27:53 +0000 |
| commit | deb9fa482d7bbe8544dc3cc866aec00a17aa8ff4 (patch) | |
| tree | acd91a3c9f3b1aea3c4b80e8919859b7658bf46e /tests/testReplaceExisting.expected | |
| parent | b366750e114579c472d29c37c1c153daa06dd0cb (diff) | |
| download | json-c-deb9fa482d7bbe8544dc3cc866aec00a17aa8ff4.tar.gz | |
Issue #240: add arbitrary use of val's in foreach loops to squash warnings about unused variables.
Diffstat (limited to 'tests/testReplaceExisting.expected')
| -rw-r--r-- | tests/testReplaceExisting.expected | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/testReplaceExisting.expected b/tests/testReplaceExisting.expected index b1d4461..57ef190 100644 --- a/tests/testReplaceExisting.expected +++ b/tests/testReplaceExisting.expected @@ -1,15 +1,15 @@ ==== delete-in-loop test starting ==== -Key at index 0 is [foo1] (kept) -Key at index 1 is [foo2] (kept) -Key at index 2 is [deleteme] (deleted) -Key at index 3 is [foo3] (kept) +Key at index 0 is [foo1] 0 (kept) +Key at index 1 is [foo2] 0 (kept) +Key at index 2 is [deleteme] 0 (deleted) +Key at index 3 is [foo3] 0 (kept) ==== replace-value first loop starting ==== -Key at index 0 is [foo1] -Key at index 1 is [foo2] +Key at index 0 is [foo1] 0 +Key at index 1 is [foo2] 0 replacing value for key [foo2] -Key at index 2 is [foo3] +Key at index 2 is [foo3] 0 ==== second loop starting ==== -Key at index 0 is [foo1] -Key at index 1 is [foo2] +Key at index 0 is [foo1] 0 +Key at index 1 is [foo2] 0 pointer for key [foo2] does match -Key at index 2 is [foo3] +Key at index 2 is [foo3] 0 |
