Skip to content

Commit

Permalink
Resolved more compiler warnings on Linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
RoryBarnes committed Jan 22, 2024
1 parent 3960012 commit 172aeae
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 19 deletions.
2 changes: 0 additions & 2 deletions src/body.c
Original file line number Diff line number Diff line change
Expand Up @@ -670,8 +670,6 @@ double fdK2Man(BODY *body, int iBody) {
}

double fdTidalQMan(BODY *body, int iBody) {
double ShmodUManArr;
ShmodUManArr = body[iBody].dShmodUMan * body[iBody].dMeltfactorUMan;
double dTidalQMan = body[iBody].dDynamViscos * body[iBody].dMeanMotion /
body[iBody].dShmodUMan;
return dTidalQMan;
Expand Down
15 changes: 0 additions & 15 deletions src/radheat.c
Original file line number Diff line number Diff line change
Expand Up @@ -2953,21 +2953,6 @@ void fvForceBehaviorRadheat(BODY *body, MODULE *module, EVOLVE *evolve, IO *io,
}
}

/**
Exit radheat error statements
@param files Files struct
@param cSpecies char
@param iFile Index of file
*/
void fvRadheatExit(FILES *files, char cSpecies[16], int iFile) {
fprintf(stderr, "ERROR: Radheat called, but no %s option provided.\n",
cSpecies);
fprintf(stderr, "\tFile: %s\n", files->Infile[iFile].cIn);
exit(EXIT_INPUT);
}


void fvAssignRadheatDerivatives(BODY *body, EVOLVE *evolve, UPDATE *update,
fnUpdateVariable ***fnUpdate, int iBody) {
// 26Al
Expand Down
1 change: 0 additions & 1 deletion src/radheat.h
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,6 @@ void fvVerify235U(BODY *, OPTIONS *, SYSTEM *, UPDATE *, double, int);
void fvPropsAuxRadheat(BODY *, EVOLVE *, IO *, UPDATE *, int);
void fvForceBehaviorRadheat(BODY *, MODULE *, EVOLVE *, IO *, SYSTEM *,
UPDATE *, fnUpdateVariable ***, int, int);
void fvRadheatExit(FILES *, char *, int);
void fvVerifyRadheat(BODY *, CONTROL *, FILES *, OPTIONS *, OUTPUT *, SYSTEM *,
UPDATE *, int, int);
void fvAssignRadheatDerivatives(BODY *, EVOLVE *, UPDATE *,
Expand Down
2 changes: 1 addition & 1 deletion src/verify.c
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ void IntegrationWarning(char cName1[], char cName2[], char cName3[],
void VerifyIntegration(BODY *body, CONTROL *control, FILES *files,
OPTIONS *options, SYSTEM *system,
fnIntegrate *fnOneStep) {
int iFile, iFile1, iFile2;
int iFile, iFile1=0, iFile2=0;
char cTmp[OPTLEN];


Expand Down

0 comments on commit 172aeae

Please sign in to comment.