mirror of git://git.sysmocom.de/ofono
coding-style: Add exception to rule M12
For external enums
This commit is contained in:
parent
8ae8deb44f
commit
c2962678b7
|
@ -205,6 +205,10 @@ default: // wrong
|
|||
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
|
||||
====================
|
||||
Better to use abbreviation, rather than full name, to name a variable,
|
||||
|
|
Loading…
Reference in New Issue