diff --git a/src/body.c b/src/body.c index 736b2bc0f..8818e8eca 100644 --- a/src/body.c +++ b/src/body.c @@ -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; diff --git a/src/radheat.c b/src/radheat.c index 0145786dd..27381ddf4 100644 --- a/src/radheat.c +++ b/src/radheat.c @@ -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 diff --git a/src/radheat.h b/src/radheat.h index c9c216bc9..f81e11b1d 100644 --- a/src/radheat.h +++ b/src/radheat.h @@ -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 *, diff --git a/src/verify.c b/src/verify.c index 72187e2ce..13d7a9eb3 100644 --- a/src/verify.c +++ b/src/verify.c @@ -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];