Skip to content

Propagate icalrecur_iterator_new() errors.#9

Open
groner wants to merge 1 commit into
petropavel13:masterfrom
groner:check-icalrecur_iterator_new-errors
Open

Propagate icalrecur_iterator_new() errors.#9
groner wants to merge 1 commit into
petropavel13:masterfrom
groner:check-icalrecur_iterator_new-errors

Conversation

@groner
Copy link
Copy Markdown
Contributor

@groner groner commented May 4, 2016

No description provided.

Comment thread src/pg_rrule.c

icalrecur_iterator* const recur_iterator = icalrecur_iterator_new(recurrence, dtstart);

if (!recur_iterator) {
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

please compare variable with NULL:

if (recur_iterator == NULL) {

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