Bugfix/code clean using gcc warnings (#371)
* Enable extra GCC warnings to discover subtle bugs * convert c++ comments to c comments * cleanup pedantic compiler warnings * Compile apps with GNU89 GNU99 GNU11 and GNU17 Co-authored-by: Steve Karg <skarg@users.sourceforge.net>
This commit is contained in:
@@ -215,9 +215,6 @@ static int bbmd_register_as_foreign_device(void)
|
||||
pEnv = getenv(bbmd_env);
|
||||
if (pEnv) {
|
||||
bdt_entry_port = strtol(pEnv, NULL, 0);
|
||||
if (bdt_entry_port > 0xFFFF) {
|
||||
bdt_entry_port = 0xBAC0;
|
||||
}
|
||||
if (entry_number == 1) {
|
||||
if (BIP_DL_Debug) {
|
||||
fprintf(stderr, "BBMD 1 port overridden %s=%s!\n",
|
||||
|
||||
Reference in New Issue
Block a user