Skip to content

Add check for _interface #7014

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

Merged
merged 1 commit into from
May 29, 2018
Merged

Add check for _interface #7014

merged 1 commit into from
May 29, 2018

Conversation

KariHaapalehto
Copy link
Contributor

Description

Add check for _interface -variable

Pull request type

[X] Fix
[ ] Refactor
[ ] New target
[ ] Feature
[ ] Breaking change

@0xc0170 0xc0170 requested a review from a team May 25, 2018 07:45
@KariHaapalehto
Copy link
Contributor Author

@kjbracey-arm Kevin, could you please review this

}

const char *EMACInterface::get_mac_address()
{
if (_interface->get_mac_address(_mac_address, sizeof(_mac_address))) {
return _mac_address;
if (_interface) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Tould you squidge these down to just if (_interface && _interface->xxx)?

@0xc0170
Copy link
Contributor

0xc0170 commented May 28, 2018

/morph build

@mbed-ci
Copy link

mbed-ci commented May 28, 2018

Build : SUCCESS

Build number : 2176
Build artifacts/logs : http://mbed-os.s3-website-eu-west-1.amazonaws.com/?prefix=builds/7014/

Triggering tests

/morph test
/morph uvisor-test
/morph export-build
/morph mbed2-build

@mbed-ci
Copy link

mbed-ci commented May 28, 2018

@mbed-ci
Copy link

mbed-ci commented May 28, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants