mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Add CodeQL for GitHub code scanning (#1548)
* Create codeql.yml * Addressing codeql findings
This commit is contained in:
@@ -69,12 +69,14 @@ int LedDeviceTemplate::close()
|
||||
int retval = 0;
|
||||
_isDeviceReady = false;
|
||||
|
||||
#if 0
|
||||
// Test, if device requires closing
|
||||
if ( true /*If device is still open*/ )
|
||||
{
|
||||
// Close device
|
||||
// Everything is OK -> device is closed
|
||||
}
|
||||
#endif
|
||||
return retval;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user