diff options
Diffstat (limited to 'CODING_STYLE')
-rw-r--r-- | CODING_STYLE | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CODING_STYLE b/CODING_STYLE index 996897bcde..4ec5923d3d 100644 --- a/CODING_STYLE +++ b/CODING_STYLE @@ -16,7 +16,7 @@ half-initialized objects, too - Error codes are returned as negative Exxx. i.e. return -EINVAL. There - are some exceptions: for constructors its is OK to return NULL on + are some exceptions: for constructors it is OK to return NULL on OOM. For lookup functions NULL is fine too for "not found". Be strict with this. When you write a function that can fail due to |