aboutsummaryrefslogtreecommitdiff
path: root/CONTRIBUTING.md
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2016-11-05 00:33:36 -0400
committerGitHub <noreply@github.com>2016-11-05 00:33:36 -0400
commit69f63442788825bc6ada7e056c7c06d16e1bc337 (patch)
tree855c8c3a80d6ab563c551448bd71b01c44b231a9 /CONTRIBUTING.md
parent5dc7fc4b29af6237f09af0b5908b3ebc4b495e07 (diff)
Update CONTRIBUTING.md
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r--CONTRIBUTING.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 9406dbd0e1..7a21eebf88 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -53,7 +53,7 @@ namespace Example {
// Declare globals at the top
int g_foo{}; // {} can be used to initialize types as 0, false, or nullptr
-char* g_some_pointer; // Pointer * and reference & stick to the type name
+char* g_some_pointer{}; // Pointer * and reference & stick to the type name, and make sure to initialize as nullptr!
/// A colorful enum.
enum SomeEnum {