[PATCH] Simplify reporting of API violations of the conflict resolver callback.
From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Mon, 14 Jul 2008 10:47:04 +0100
If the conflict resolver callback violates its API (e.g. returns NULL or
> if (result == NULL)
This happens in 5 places and some are longer than the quoted example. My
> SVN_ERR_ASSERT(result);
See the attached patch.
Should I do this?
My reasons: I think it makes the normal code path easier to read. I
- Julian
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.