diff --git a/src/engine/kvp_frame.c b/src/engine/kvp_frame.c index 4f4db82955..ecb64b3303 100644 --- a/src/engine/kvp_frame.c +++ b/src/engine/kvp_frame.c @@ -30,6 +30,7 @@ #include #include "gnc-engine.h" +#include "gnc-engine-util.h" #include "gnc-numeric.h" #include "guid.h" #include "kvp_frame.h" @@ -62,6 +63,9 @@ struct _kvp_value { } value; }; +/* This static indicates the debugging module that this .o belongs to. */ +static short module = MOD_ENGINE; + /******************************************************************** * kvp_frame functions ********************************************************************/ @@ -891,7 +895,7 @@ kvp_value_compare(const kvp_value * kva, const kvp_value * kvb) { return kvp_frame_compare(kva->value.frame, kvb->value.frame); break; } - fprintf(stderr, "DANGER: reached unreachable code (kvp_value_equal).\n"); + PERR ("reached unreachable code."); return FALSE; }