diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-02-23 13:06:55 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-02-23 13:06:55 +0300 |
commit | b497eae0a85ce61bf43ea50c9f5d35345c1dd700 (patch) | |
tree | c934b7a998bd8f9cac9b0a64693a2f950b7fa59a /source/blender/editors/screen | |
parent | 86cfbeec6a7f683f988239ca08df5622abada4ea (diff) |
Screen: remove redundant NULL check in ED_area_prevspace
Diffstat (limited to 'source/blender/editors/screen')
-rw-r--r-- | source/blender/editors/screen/area.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c index c0878fea8ac..c423d81bfe2 100644 --- a/source/blender/editors/screen/area.c +++ b/source/blender/editors/screen/area.c @@ -1631,7 +1631,7 @@ void ED_area_newspace(bContext *C, ScrArea *sa, int type) void ED_area_prevspace(bContext *C, ScrArea *sa) { - SpaceLink *sl = (sa) ? sa->spacedata.first : CTX_wm_space_data(C); + SpaceLink *sl = sa->spacedata.first; if (sl && sl->next) { /* workaround for case of double prevspace, render window |