Skip to content

Commit

Permalink
Merge pull request #1456 from edgarcosta/ynum
Browse files Browse the repository at this point in the history
remove two self assignments
  • Loading branch information
fredrik-johansson authored Oct 9, 2023
2 parents 61984d9 + b5249cc commit ed28411
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion examples/complex_plot.c
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,6 @@ void worker(slong x, work_t * work)

xnum = work->xnum;
ynum = work->ynum;
ynum = ynum; /* unused */
y = work->y;

for (prec = 30; prec < 500; prec *= 2)
Expand Down
3 changes: 1 addition & 2 deletions examples/functions_benchmark.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ int main()
arb_t x, y, res;
slong n, prec;
int function;
double tcpu, twall;
double __attribute__((unused)) tcpu, twall;

arb_init(x);
arb_init(y);
Expand Down Expand Up @@ -149,7 +149,6 @@ int main()
printf("%12.3g", twall);
fflush(stdout);

tcpu = tcpu; /* unused */
printf("\n");
}
}
Expand Down

0 comments on commit ed28411

Please sign in to comment.