diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-12-01 11:36:57 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-12-01 11:36:57 +0300 |
commit | 40f45a7eac620fd8b99b3f29f3d0cac3c855dc84 (patch) | |
tree | b42ed461143b7347d86cefe40d051d0585f460e8 /source/blender/makesdna/DNA_scene_types.h | |
parent | 0f5b53ba4dc03f89b43a633f73a59594e709ab11 (diff) |
Cleanup: redundant NULL checks
Also use unsigned shifting for values not in int range.
Diffstat (limited to 'source/blender/makesdna/DNA_scene_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_scene_types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h index 1b31e45b30e..c34bf32d0cb 100644 --- a/source/blender/makesdna/DNA_scene_types.h +++ b/source/blender/makesdna/DNA_scene_types.h @@ -263,7 +263,7 @@ typedef enum eScenePassType { SCE_PASS_SUBSURFACE_DIRECT = (1 << 28), SCE_PASS_SUBSURFACE_INDIRECT = (1 << 29), SCE_PASS_SUBSURFACE_COLOR = (1 << 30), - SCE_PASS_ROUGHNESS = (1 << 31), + SCE_PASS_ROUGHNESS = (1u << 31u), } eScenePassType; #define RE_PASSNAME_COMBINED "Combined" |