Commit Diff


commit - ddb547b4ba4b22af3a10702f0f596151fbbf1e31
commit + 8e41b2f81b3abdc18b6ce0f7ac17352c216eee3d
blob - de713b3d72a9ae2f5014853f72ff74cc83309b6f
blob + 4d14cc7ce26e22f447588549dba3c6f1533d1683
--- regress/idset/idset_test.c
+++ regress/idset/idset_test.c
@@ -104,6 +104,8 @@ idset_add_remove_iter(void)
 	if (err)
 		goto done;
 	err = got_object_idset_add(set, &id2, NULL);
+	if (err == NULL)
+		abort();
 	if (err->code != GOT_ERR_OBJ_EXISTS)
 		goto done;
 	err = NULL;