Skip to content
Snippets Groups Projects
Commit a43cda7e authored by Peter W. Draper's avatar Peter W. Draper
Browse files

Stop 'control reaches end of non-void function' warnings

Former-commit-id: 27f6ec2c6f5d8b07650b1b121b5de3077f1b5cf2
parent fe974502
No related branches found
No related tags found
No related merge requests found
......@@ -76,6 +76,7 @@ double getBaseUnit(struct UnitSystem* us, enum BaseUnits baseUnit) {
default:
error("Invalid base Unit");
}
return 0.0;
}
/**
......@@ -97,6 +98,7 @@ const char* getBaseUnitSymbol(enum BaseUnits baseUnit) {
default:
error("Invalid base Unit");
}
return "";
}
/**
......@@ -118,6 +120,7 @@ const char* getBaseUnitCGSSymbol(enum BaseUnits baseUnit) {
default:
error("Invalid base Unit");
}
return "";
}
void getBaseUnitExponantsArray(float baseUnitsExp[5],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment