[Kde-pim] Review Request: incidence.cpp:622: warning: enumeration value 'None' not handled in switch

Bertjan Broeksema b.broeksema at home.nl
Thu Nov 5 19:01:07 GMT 2009


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/1906/#review2940
-----------------------------------------------------------



/trunk/KDE/kdepim/kresources/kolab/kcal/incidence.cpp
<http://reviewboard.kde.org/r/1906/#comment2334>

    I would say that you should return "none" here. That seems the best option when looking at NeedsAction.


- Bertjan


On 2009-10-21 19:01:28, Guy Maurel wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard.kde.org/r/1906/
> -----------------------------------------------------------
> 
> (Updated 2009-10-21 19:01:28)
> 
> 
> Review request for KDE PIM.
> 
> 
> Summary
> -------
> 
> The dashboard
>   http://dashboard.akonadi-project.org/CDash/index.php?project=kdelibs
> reports:
> /.../kdepim/kresources/kolab/kcal/incidence.cpp:622: 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-21.diff
> 
> 
> Diffs
> -----
> 
>   /trunk/KDE/kdepim/kresources/kolab/kcal/incidence.cpp 1031659 
> 
> Diff: http://reviewboard.kde.org/r/1906/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