diff options
author | Dimitri Staessens <[email protected]> | 2016-02-26 15:02:23 +0100 |
---|---|---|
committer | Dimitri Staessens <[email protected]> | 2016-02-26 15:02:23 +0100 |
commit | 5ed07e6935a73bd54dd31c96afdf478a42d70ea1 (patch) | |
tree | 1de8f84b41c610813548c2167dff8dd77992edf2 /doc | |
parent | bb1d3fd141c33a98137edd9261a9adb9ea1d3753 (diff) | |
download | ouroboros-5ed07e6935a73bd54dd31c96afdf478a42d70ea1.tar.gz ouroboros-5ed07e6935a73bd54dd31c96afdf478a42d70ea1.zip |
doc: workflow updated for consistency
Diffstat (limited to 'doc')
-rw-r--r-- | doc/workflow.txt | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/doc/workflow.txt b/doc/workflow.txt index 02d13f64..0f59b4bf 100644 --- a/doc/workflow.txt +++ b/doc/workflow.txt @@ -23,18 +23,14 @@ int *a; - Don't explicitly cast malloc, but do
-your * = malloc (sizeof *your * len);
-
-or
-
your * = malloc (sizeof (*your) * len);
+or
+your * = malloc (sizeof *your * len);
- When checking for invalid pointers use
if (ptr == NULL)
-
instead of
-
if (!ptr)
3. Development workflow
|