diff options
-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
|