|
From: Nicholas N. <n.n...@gm...> - 2009-05-17 22:22:51
|
On Mon, May 18, 2009 at 2:29 AM, <sv...@va...> wrote:
> --- branches/MESSAGING_TIDYUP/drd/drd_error.c 2009-05-17 16:26:48 UTC (rev 9863)
> +++ branches/MESSAGING_TIDYUP/drd/drd_error.c 2009-05-17 16:29:20 UTC (rev 9864)
> @@ -194,6 +194,12 @@
> return False;
> }
>
> +static void drd_tool_error_before_pp(Error* const e)
> +{
> + /* No need to do anything; drd_tool_error_pp does all
> + the work. */
> +}
> +
It's probably nicer to allow NULL to be passed as the before_pp()
function, to save writing functions like this. Passing NULL works
with at least some of the other initialisation functions, eg.
VG_(track_*)().
Nick
|