[Kde-pim] Review Request: incidence.cpp:606: warning: enumeration value 'None' not handled in switch
Torgny Nyblom
kde at nyblom.org
Wed Oct 21 07:58:33 BST 2009
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/1902/#review2734
-----------------------------------------------------------
/trunk/KDE/kdepim/akonadi/resources/kolabproxy/incidence.cpp
<http://reviewboard.kde.org/r/1902/#comment2052>
Better to return an empty string as in
return QString() as the method should return a QString.
- Torgny
On 2009-10-19 16:49:47, Guy Maurel wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard.kde.org/r/1902/
> -----------------------------------------------------------
>
> (Updated 2009-10-19 16:49:47)
>
>
> Review request for KDE PIM.
>
>
> Summary
> -------
>
> The dashboard
> http://dashboard.akonadi-project.org/CDash/index.php?project=kdelibs
> reports:
> /.../kdepim/akonadi/resources/kolabproxy/incidence.cpp:606: warning: enumeration value 'None' not handled in switch
>
> at
> static QString attendeeStatusToString( KCal::Attendee::PartStat status )
>
> my proposal: add the enumeration value 'None' in the switch
> see: incidence-gm-19.diff
>
>
> Diffs
> -----
>
> /trunk/KDE/kdepim/akonadi/resources/kolabproxy/incidence.cpp 1031659
>
> Diff: http://reviewboard.kde.org/r/1902/diff
>
>
> Testing
> -------
>
>
> Thanks,
>
> Guy
>
>
_______________________________________________
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