summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2016-11-05 05:33:36 +0100
committerGitHub <noreply@github.com>2016-11-05 05:33:36 +0100
commit1f70365faa75e5dc25108d22bf0a0399b93761df (patch)
tree855c8c3a80d6ab563c551448bd71b01c44b231a9
parentUpdate CONTRIBUTING.md (diff)
downloadyuzu-1f70365faa75e5dc25108d22bf0a0399b93761df.tar
yuzu-1f70365faa75e5dc25108d22bf0a0399b93761df.tar.gz
yuzu-1f70365faa75e5dc25108d22bf0a0399b93761df.tar.bz2
yuzu-1f70365faa75e5dc25108d22bf0a0399b93761df.tar.lz
yuzu-1f70365faa75e5dc25108d22bf0a0399b93761df.tar.xz
yuzu-1f70365faa75e5dc25108d22bf0a0399b93761df.tar.zst
yuzu-1f70365faa75e5dc25108d22bf0a0399b93761df.zip
-rw-r--r--CONTRIBUTING.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 9406dbd0e..7a21eebf8 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 {