equal
deleted
inserted
replaced
400 // ========================================================================== |
400 // ========================================================================== |
401 EXPORT_C void RDebugLog::WriteFormat( const TDesC8& aFuncName8, |
401 EXPORT_C void RDebugLog::WriteFormat( const TDesC8& aFuncName8, |
402 TRefByValue< const TDesC16 > aFmt, |
402 TRefByValue< const TDesC16 > aFmt, |
403 ... ) const |
403 ... ) const |
404 { |
404 { |
405 VA_LIST list; // coverity[UNINIT] |
405 // coverity[UNINIT] |
|
406 VA_LIST list; |
406 VA_START(list,aFmt); |
407 VA_START(list,aFmt); |
407 |
408 |
408 RDebugLog* self = const_cast<RDebugLog*>(this); |
409 RDebugLog* self = const_cast<RDebugLog*>(this); |
409 |
410 |
410 if( self->PrepareForWrite() ) |
411 if( self->PrepareForWrite() ) |
443 // ========================================================================== |
444 // ========================================================================== |
444 EXPORT_C void RDebugLog::WriteFormat( const TDesC8& aFuncName8, |
445 EXPORT_C void RDebugLog::WriteFormat( const TDesC8& aFuncName8, |
445 TRefByValue< const TDesC8 > aFmt, |
446 TRefByValue< const TDesC8 > aFmt, |
446 ... ) const |
447 ... ) const |
447 { |
448 { |
448 VA_LIST list; // coverity[UNINIT] |
449 // coverity[UNINIT] |
|
450 VA_LIST list; |
449 VA_START(list,aFmt); |
451 VA_START(list,aFmt); |
450 |
452 |
451 RDebugLog* self = const_cast<RDebugLog*>(this); |
453 RDebugLog* self = const_cast<RDebugLog*>(this); |
452 |
454 |
453 if( self->PrepareForWrite() ) |
455 if( self->PrepareForWrite() ) |