msi: Use a debug channel to turn on transform debugging.
(Coverity)
Alexandre Julliard
julliard at winehq.org
Fri Apr 7 04:29:12 CDT 2006
Mike McCormack <mike at codeweavers.com> writes:
> --- a/dlls/msi/table.c
> +++ b/dlls/msi/table.c
> @@ -1604,13 +1604,12 @@ static MSIRECORD *msi_get_transform_reco
> USHORT mask = *rawdata++;
> MSICOLUMNINFO *columns = tv->columns;
> MSIRECORD *rec;
> - const int debug_transform = 0;
>
> rec = MSI_CreateRecord( tv->num_cols );
> if( !rec )
> return rec;
>
> - if( debug_transform ) MESSAGE("row -> ");
> + if( TRACE_ON(msidb) ) MESSAGE("row -> ");
You should use TRACE instead of MESSAGE then, it will be a lot more
readable.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list