diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-08-28 09:06:30 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-08-28 09:06:30 +0400 |
commit | fa2ba5fbf5848e4d61b697c624af9b9e9456eb20 (patch) | |
tree | 8c7f0bcfc6af77f1bb491d4e4d230493f9d897c0 /source/blender/blenlib/intern/callbacks.c | |
parent | c73d5b939dd9dcc68ed1d1316115c2c7cded9cab (diff) |
- use static vars and functions where possible.
- use NULL rather than 0 when used as pointers.
Diffstat (limited to 'source/blender/blenlib/intern/callbacks.c')
-rw-r--r-- | source/blender/blenlib/intern/callbacks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/callbacks.c b/source/blender/blenlib/intern/callbacks.c index a033e01696d..d28f794440f 100644 --- a/source/blender/blenlib/intern/callbacks.c +++ b/source/blender/blenlib/intern/callbacks.c @@ -28,7 +28,7 @@ #include "MEM_guardedalloc.h" -static ListBase callback_slots[BLI_CB_EVT_TOT]= {{0}}; +static ListBase callback_slots[BLI_CB_EVT_TOT]= {{NULL}}; void BLI_exec_cb(struct Main *main, struct ID *self, eCbEvent evt) { |