Skip to content
Snippets Groups Projects
Commit c10d0c5f authored by Marti Bolivar's avatar Marti Bolivar
Browse files

SourceNode.cpp: cosmetics.

parent 7b14d39e
Branches
Tags
No related merge requests found
......@@ -213,12 +213,7 @@ void SourceNode::timerCallback()
}
bool SourceNode::isReady() {
if (dataThread != 0) {
return dataThread->foundInputSource();
} else {
return false;
}
return dataThread && dataThread->foundInputSource();
}
bool SourceNode::enable() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment