[Kde-pim] Re: what is the use of the assigment

Kevin Krammer kevin.krammer at gmx.at
Wed Jun 29 18:42:21 BST 2011


Hi Guy,

On Wednesday, 2011-06-29, Guy Maurel wrote:
> Hello Kevin!
> 
> I have a question about an assigment in the file
> kdepim-runtime/migration/kmailmigrator.cpp, in the method
> 
> "void KMailMigrator::specialColDefaultResourceCheckFinished( const
> AgentInstance &instance )"
> 
> There is a line with:
>   mCurrentInstance = AgentInstance();
> 
> what is the use of this assigment, 4 lines before the end of the work?

Probably not necessary here, but doesn't hurt either.
Most likely an artifact from refactoring.

Cheers,
Kevin

-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20110629/f7541d54/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list