KEMBAR78
Adds error checking for an err variable that was left unchecked by yaserazfar · Pull Request #810 · github/gh-ost · GitHub
Skip to content

Conversation

@yaserazfar
Copy link
Contributor

@yaserazfar yaserazfar commented Dec 27, 2019

This PR is not related to an issue, but is adding an error check where an err variable was set but not checked. This could potentially help find errors when developing in the future.

Description

This PR adds an error checks for an err variable which was assigned but never checked.

In case this PR introduced Go code changes:

  • contributed code is using same conventions as original code
  • script/cibuild returns with no formatting errors, build errors or unit test errors.

This issues was found using CodeLingo - codelingo.io

Copy link
Contributor

@shlomi-noach shlomi-noach left a comment

Choose a reason for hiding this comment

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

Thank you!

@timvaillancourt timvaillancourt self-requested a review August 14, 2020 03:32
@timvaillancourt timvaillancourt merged commit f334dbd into github:master Aug 14, 2020
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.

3 participants