Cleanup: fix compiler warning.
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Tue, 5 Jun 2018 10:37:50 +0000 (12:37 +0200)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Wed, 6 Jun 2018 09:22:17 +0000 (11:22 +0200)
source/blender/draw/intern/draw_hair.c

index 2c03caf0ac3641169cec6cc137261841125a85c6..d5923419b3773d2802377a9289387f341d29428a 100644 (file)
@@ -109,6 +109,7 @@ static DRWShadingGroup *drw_shgroup_create_hair_procedural_ex(
                shgrp = DRW_shgroup_create(gpu_shader, hair_pass);
        }
        else {
+               shgrp = NULL;
                BLI_assert(0);
        }