diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-02-17 04:12:39 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-02-17 04:34:12 +0400 |
commit | 20da9353b88ee544c41ada47a2ab76099e78736c (patch) | |
tree | 1842d0171ba8a1a203b28df12699439d76f4560f /source/blender/editors/space_image/image_buttons.c | |
parent | 6c7f9f67fd4fdc792e003f10389de9dbcf3d0114 (diff) |
Code cleanup: unused/warnings
Diffstat (limited to 'source/blender/editors/space_image/image_buttons.c')
-rw-r--r-- | source/blender/editors/space_image/image_buttons.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_image/image_buttons.c b/source/blender/editors/space_image/image_buttons.c index aaa3aa46cbb..6b0f4a0615c 100644 --- a/source/blender/editors/space_image/image_buttons.c +++ b/source/blender/editors/space_image/image_buttons.c @@ -330,7 +330,7 @@ static void ui_imageuser_layer_menu(bContext *UNUSED(C), uiLayout *layout, void RenderResult *rr = rnd_data[0]; ImageUser *iuser = rnd_data[1]; RenderLayer *rl; - RenderLayer rl_fake = {0}; + RenderLayer rl_fake = {NULL}; const char *fake_name; int nr; @@ -382,7 +382,7 @@ static void ui_imageuser_pass_menu(bContext *UNUSED(C), uiLayout *layout, void * ImageUser *iuser = ptrpair[1]; /* rl==NULL means composite result */ RenderLayer *rl = ptrpair[2]; - RenderPass rpass_fake = {0}; + RenderPass rpass_fake = {NULL}; RenderPass *rpass; const char *fake_name; int nr; |