diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-08-07 07:55:21 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-08-07 07:55:21 +0400 |
commit | 00b39c4e5b91b4291bb41a0ea1f7413d8aeba9f9 (patch) | |
tree | 49140a0bdcbf9c2ffa885ac0d338f071ec09538e /source/blender/blenlib/BLI_buffer.h | |
parent | 4f29aeeff2cfe1dbe0a12910932c48ee453a6de1 (diff) |
code cleanup: more confusion with 0/NULL/false
Diffstat (limited to 'source/blender/blenlib/BLI_buffer.h')
-rw-r--r-- | source/blender/blenlib/BLI_buffer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/BLI_buffer.h b/source/blender/blenlib/BLI_buffer.h index 879ef869653..461b56e157f 100644 --- a/source/blender/blenlib/BLI_buffer.h +++ b/source/blender/blenlib/BLI_buffer.h @@ -57,7 +57,7 @@ enum { BLI_Buffer name_ = { \ /* clear the static memory if this is a calloc'd array */ \ ((void)((flag_ & BLI_BUFFER_USE_CALLOC) ? \ - memset(name_ ## _static_, 0, sizeof(name_ ## _static_)) : 0\ + memset(name_ ## _static_, 0, sizeof(name_ ## _static_)) : NULL \ ), /* memset-end */ \ name_ ## _static_), \ sizeof(type_), \ |