summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/lilv_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lilv_test.c b/test/lilv_test.c
index 9a42631..300184c 100644
--- a/test/lilv_test.c
+++ b/test/lilv_test.c
@@ -738,7 +738,7 @@ test_port()
LilvIter* sp_iter = lilv_scale_points_begin(points);
const LilvScalePoint* sp0 = lilv_scale_points_get(points, sp_iter);
TEST_ASSERT(sp0);
- lilv_scale_points_next(points, sp_iter);
+ sp_iter = lilv_scale_points_next(points, sp_iter);
const LilvScalePoint* sp1 = lilv_scale_points_get(points, sp_iter);
TEST_ASSERT(sp1);