Mercurial > public > ostc4
diff Discovery/Src/logbook.c @ 225:2bb1db22b5f5 div-fixes-3
cleanup: random set of cleanups
A random set of cleanups, as found during code reading, and looking
around fixing issues. Contains all kinds of things: typo's in comment,
typo in variable name, removal of unused code, making things static
where possible. Does not contain any functional changes.
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
author | Jan Mulder <jlmulder@xs4all.nl> |
---|---|
date | Mon, 01 Apr 2019 15:50:41 +0200 |
parents | ac58a9fb92ac |
children | 6e78137952af |
line wrap: on
line diff
--- a/Discovery/Src/logbook.c Sun Mar 31 19:35:51 2019 +0200 +++ b/Discovery/Src/logbook.c Mon Apr 01 15:50:41 2019 +0200 @@ -1342,6 +1342,7 @@ static void logbook_SetCompartmentDesaturation(void) { const SDiveState * pStateReal = stateRealGetPointer(); + SLifeData2 secondaryInformation = { 0 }; decom_tissues_desaturation_time(&pStateReal->lifeData, &secondaryInformation); for(int i=0;i<16;i++)