[Kde-pim] Review Request: fakemonitor.cpp:49: warning: many enumeration values not handled

Guy Maurel guy-kde at maurel.de
Sun Nov 8 15:25:13 GMT 2009


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

Review request for KDE PIM.


Summary
-------

The dashboard
  http://dashboard.akonadi-project.org/CDash/index.php?project=kdelibs
reports:
/.../kdepimlibs/akonadi/tests/fakemonitor.cpp:49: warning: enumeration value 'CollecionUnMonitored' not handled in switch
/.../kdepimlibs/akonadi/tests/fakemonitor.cpp:49: warning: enumeration value 'CollectionMonitored' not handled in switch
/.../kdepimlibs/akonadi/tests/fakemonitor.cpp:49: warning: enumeration value 'CollectionStatisticsChanged' not handled in switch
/.../kdepimlibs/akonadi/tests/fakemonitor.cpp:49: warning: enumeration value 'CollectionsChanged' not handled in switch
/.../kdepimlibs/akonadi/tests/fakemonitor.cpp:49: warning: enumeration value 'CollectionsMoved' not handled in switch
/.../kdepimlibs/akonadi/tests/fakemonitor.cpp:49: warning: enumeration value 'CollectionsRemoved' not handled in switch
/.../kdepimlibs/akonadi/tests/fakemonitor.cpp:49: warning: enumeration value 'ItemLinked' not handled in switch
/.../kdepimlibs/akonadi/tests/fakemonitor.cpp:49: warning: enumeration value 'ItemUnlinked' not handled in switch
/.../kdepimlibs/akonadi/tests/fakemonitor.cpp:49: warning: enumeration value 'ItemsAdded' not handled in switch
/.../kdepimlibs/akonadi/tests/fakemonitor.cpp:49: warning: enumeration value 'ItemsChanged' not handled in switch
/.../kdepimlibs/akonadi/tests/fakemonitor.cpp:49: warning: enumeration value 'ItemsMoved' not handled in switch
/.../kdepimlibs/akonadi/tests/fakemonitor.cpp:49: warning: enumeration value 'ItemsRemoved' not handled in switch
/.../kdepimlibs/akonadi/tests/fakemonitor.cpp:49: warning: enumeration value 'MimetypeMonitored' not handled in switch
/.../kdepimlibs/akonadi/tests/fakemonitor.cpp:49: warning: enumeration value 'MimetypeUnMonitored' not handled in switch
/.../kdepimlibs/akonadi/tests/fakemonitor.cpp:49: warning: enumeration value 'ResourceMonitored' not handled in switch
/.../kdepimlibs/akonadi/tests/fakemonitor.cpp:49: warning: enumeration value 'ResourceUnMonitored' not handled in switch

at
FakeMonitor::processNextEvent()

my proposal: complete with default case.
see: fakemonitor-gm-42.diff


Diffs
-----

  /trunk/KDE/kdepimlibs/akonadi/tests/fakemonitor.cpp 1045694 

Diff: http://reviewboard.kde.org/r/2095/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