On Wednesday 15 October 2014 09:26:34 Kurt Pattyn wrote:
> I am talking about missing default switch statements, incomplete switch
> statements, implicit conversion between signed and unsigned integers, aso.

"default" labels in switches may be intentionally missing. When the swtch 
handles all possible values, it's unnecessary to add a default. Especially 
when the switch handles all possible values of an enum, you don't want a 
default label so you'll get a warning later when a new enum value may be 
added.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to