Skip to content

Commit

Permalink
Eliminate apparently redundant variable causing compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
louisaslett committed Sep 26, 2024
1 parent 43d2d4c commit 7beab0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/R_CladeMat.c
Original file line number Diff line number Diff line change
Expand Up @@ -331,10 +331,10 @@ blob* blobby_BB(const double* alpha, const double* beta, const size_t recipient,
double j = n, diff = 0.0, temp_n_mut = 0.0;
cur = tail;
cur->c3 = 0.0;
int num_surv_blob = 0;
// int num_surv_blob = 0; // This does not seem to be used, except on line 337, which has no side effects
*n_clade = 0.0;
while(cur->prev != NULL) {
num_surv_blob++;
// num_surv_blob++;
j -= cur->num_in_blob;
diff = cur->lower - cur->prev->upper + 2*thres;
temp_n_mut = diff/unitdist;
Expand Down

0 comments on commit 7beab0a

Please sign in to comment.