coding-style: Add exception to rule M12

For external enums
This commit is contained in:
Sjur Brændeland 2010-11-17 08:09:12 +01:00 committed by Denis Kenzior
parent 8ae8deb44f
commit c2962678b7
1 changed files with 4 additions and 0 deletions

View File

@ -205,6 +205,10 @@ default: // wrong
break; break;
} }
However if the enum comes from an external header file outside ofono
we cannot make any assumption of how the enum is defined and this
rule might not apply.
O1: Shorten the name O1: Shorten the name
==================== ====================
Better to use abbreviation, rather than full name, to name a variable, Better to use abbreviation, rather than full name, to name a variable,