-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Add check for _interface #7014
Conversation
@kjbracey-arm Kevin, could you please review this |
features/netsocket/EMACInterface.cpp
Outdated
} | ||
|
||
const char *EMACInterface::get_mac_address() | ||
{ | ||
if (_interface->get_mac_address(_mac_address, sizeof(_mac_address))) { | ||
return _mac_address; | ||
if (_interface) { |
There was a problem hiding this comment.
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)
?
/morph build |
Build : SUCCESSBuild number : 2176 Triggering tests/morph test |
Test : SUCCESSBuild number : 1964 |
Exporter Build : SUCCESSBuild number : 1801 |
Description
Add check for _interface -variable
Pull request type