summaryrefslogtreecommitdiff
path: root/README.Coding
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2016-02-15 15:53:50 +0100
committerAndreas Schneider <asn@cryptomilk.org>2016-02-15 20:52:24 +0100
commit279d2499763b5e56fd26faa4d04fe307d713944d (patch)
treed5c75fb3e2f3c4a5a00197e0c9493bbd161f273b /README.Coding
parentdae1a9fdb5f85ebb1c72f7990959ffaa3003c769 (diff)
downloadsamba-279d2499763b5e56fd26faa4d04fe307d713944d.tar.gz
README.Coding: Improve pointer example
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Mon Feb 15 20:52:24 CET 2016 on sn-devel-144
Diffstat (limited to 'README.Coding')
-rw-r--r--README.Coding1
1 files changed, 1 insertions, 0 deletions
diff --git a/README.Coding b/README.Coding
index c4e9dfebf98..2b011a6ae9f 100644
--- a/README.Coding
+++ b/README.Coding
@@ -374,6 +374,7 @@ it's also easier to use the "step" command within gdb.
Good Example:
char *name = NULL;
+ int ret;
name = get_some_name();
if (name == NULL) {