Skip to content

Conversation

@Girgias
Copy link
Member

@Girgias Girgias commented Sep 25, 2020

Found while working on #6212

retval = SUCCESS;
} else {
retval = FAILURE;
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

retval = ... ? SUCCESS : FAILURE;

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's actually smarter... I don't use ternaries very often lol

@Girgias
Copy link
Member Author

Girgias commented Sep 25, 2020

Merged as 4dfbf07

@Girgias Girgias closed this Sep 25, 2020
@Girgias Girgias deleted the fix-pdo-bug branch September 25, 2020 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants