Screen: remove redundant NULL check in ED_area_prevspace

This commit is contained in:
Campbell Barton 2015-02-23 21:06:55 +11:00
parent 86cfbeec6a
commit b497eae0a8
1 changed files with 1 additions and 1 deletions

View File

@ -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