Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
makuke1234 committed Aug 1, 2022
1 parent 2774e48 commit ee73043
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.c
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,7 @@ void bn_calculate(bndata_t * restrict This)
const HBITMAP oldbmp = This->ui.bmp;
This->ui.bmp = This->ui.bmps[type];

double opNoise, temp, bw, desNoise;
double opNoise, temp, bw = 1.0, desNoise;

if (bn_isnan(This->ui.noiseValue) || bn_isnan(This->ui.bwValue) ||
bn_isnan(This->ui.tempValue) || bn_isnan(This->ui.desiredNValue))
Expand Down

0 comments on commit ee73043

Please sign in to comment.