We don't need to allocate a variable if it's the return of a function call and we only check it once.