Re: PATCH: Remove unnecessary type casts
From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2004-03-08 03:29:47 CET
Philip Martin wrote:
Er ... if you say so. I'm just looking at it from a syntactic and C-language-semantic point of view. The header (dbt.h) doesn't appear to have been materially altered since Subversion became self-hosting, so perhaps no-one will have recent experience of these functions.
I have now checked all uses within subversion/libsvn_fs/bdb/ of the structure field ("void *data"), and they are all treating it as constant. I have also compiled Subversion with a modified db.h which has "const void *" as the type of that field, and that compiles OK.
I am now satisfied with it, and have committed it as r8924.
- 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.