Skip to content

Commit

Permalink
Merge pull request #97 from Burke-Lauenroth-Lab/bugfix_92
Browse files Browse the repository at this point in the history
Bugfix 92: remove unused global variable
  • Loading branch information
dschlaep committed Dec 5, 2017
2 parents 2a9f262 + 7d5eee8 commit fbf7764
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions SW_Output.c
Original file line number Diff line number Diff line change
Expand Up @@ -3818,8 +3818,8 @@ static void sumof_ves(SW_VEGESTAB *v, SW_VEGESTAB_OUTPUTS *s, OutKey k)

tmp1 = (int) v->count + (int) k;
tmp1 += tmp1;
tmp2 = (TimeInt) s->days;
tmp2 += tmp2;
tmp2 = *(s->days);
tmp2 = tmp2;
return;
}

Expand Down
4 changes: 1 addition & 3 deletions SW_VegProd.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ extern Bool EchoInits;
extern Bool collectInData;
#endif
SW_VEGPROD SW_VegProd; /* declared here, externed elsewhere */
SW_VEGPROD Old_SW_VegProd; /* declared here for reading old value of file sbe_prod_v31, externed elsewhere */

/* =================================================== */
/* Module-Level Variables */
Expand Down Expand Up @@ -539,9 +538,8 @@ void SW_VPD_read(void) {

if (EchoInits)
_echo_inits();
//save original copy of SW_VegProd at oldSW_VegProd before it getting updated in code flow
Old_SW_VegProd = SW_VegProd;
}

#ifdef RSOILWAT
SEXP onGet_SW_VPD() {
int i;
Expand Down

0 comments on commit fbf7764

Please sign in to comment.