Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return the error codes instead of implicitly returning None #13513

Merged
merged 1 commit into from Oct 1, 2016

Conversation

@nivekuil
Copy link
Contributor

nivekuil commented Sep 29, 2016

See #13344


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes fix #13344 (github issue number if applicable).
  • There are tests for these changes OR
  • These changes do not require tests because refactoring without logic changes, 0 is falsey as None

This change is Reviewable

@highfive
Copy link

highfive commented Sep 29, 2016

Thanks for the pull request, and welcome! The Servo team is excited to review your changes, and you should hear from @SimonSapin (or someone else) soon.

@highfive
Copy link

highfive commented Sep 29, 2016

Heads up! This PR modifies the following files:

@nivekuil nivekuil force-pushed the nivekuil:master branch from 94d9149 to b3a0ff5 Sep 29, 2016
@wafflespeanut
Copy link
Member

wafflespeanut commented Sep 30, 2016

This looks good! Thanks for doing this :)

@bors-servo r+

@bors-servo
Copy link
Contributor

bors-servo commented Sep 30, 2016

📌 Commit b3a0ff5 has been approved by Wafflespeanut

@bors-servo
Copy link
Contributor

bors-servo commented Oct 1, 2016

Testing commit b3a0ff5 with merge fadd060...

bors-servo added a commit that referenced this pull request Oct 1, 2016
Return the error codes instead of implicitly returning None

See #13344

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #13344 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because refactoring without logic changes, 0 is falsey as None

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13513)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Oct 1, 2016

💔 Test failed - mac-rel-wpt2

@wafflespeanut
Copy link
Member

wafflespeanut commented Oct 1, 2016

@bors-servo
Copy link
Contributor

bors-servo commented Oct 1, 2016

Testing commit b3a0ff5 with merge 0e950c0...

bors-servo added a commit that referenced this pull request Oct 1, 2016
Return the error codes instead of implicitly returning None

See #13344

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #13344 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because refactoring without logic changes, 0 is falsey as None

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13513)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Oct 1, 2016

@bors-servo bors-servo merged commit b3a0ff5 into servo:master Oct 1, 2016
2 of 3 checks passed
2 of 3 checks passed
continuous-integration/travis-ci/pr The Travis CI build failed
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
homu Test successful
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

5 participants
You can’t perform that action at this time.