diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-08-01 02:06:34 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-08-01 02:06:34 +0300 |
commit | a372638a76e05aaa44589845680c15a7f09a7f1e (patch) | |
tree | 0ff6bf85c4f4927ec93ae5fe079bb859f55ff990 /source/blender/editors/gpencil/gpencil_edit.c | |
parent | 2b7edb77c96da305e9ce709fe8d87c03a031676a (diff) |
Cleanup: use static vars where appropriate
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_edit.c')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/gpencil/gpencil_edit.c b/source/blender/editors/gpencil/gpencil_edit.c index fc6df49cf6c..55a3fc09f2e 100644 --- a/source/blender/editors/gpencil/gpencil_edit.c +++ b/source/blender/editors/gpencil/gpencil_edit.c @@ -343,7 +343,7 @@ ListBase gp_strokes_copypastebuf = {NULL, NULL}; * This is needed to prevent dangling and unsafe pointers when pasting across datablocks, * or after a color used by a stroke in the buffer gets deleted (via user action or undo). */ -GHash *gp_strokes_copypastebuf_colors = NULL; +static GHash *gp_strokes_copypastebuf_colors = NULL; /* Free copy/paste buffer data */ void ED_gpencil_strokes_copybuf_free(void) |