Skip to content

Commit

Permalink
plugins/fmcomms1.c: explicitly initialize fft plot
Browse files Browse the repository at this point in the history
Fixes a maybe-uninitialized warning that causes a compile time failure
due to -Wall and -Werror in CFLAGS.

Signed-off-by: Tim Harder <[email protected]>
  • Loading branch information
Tim Harder committed Jun 8, 2015
1 parent b24e080 commit b5bd82e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/fmcomms1.c
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ static void display_cal(void *ptr)
bool show = false;
const char *device_ref;
int ret, attempt = 0;
OscPlot *fft_plot;
OscPlot *fft_plot = NULL;
double ln10 = log(10.0);

device_ref = plugin_get_device_by_reference("cf-ad9643-core-lpc");
Expand Down

0 comments on commit b5bd82e

Please sign in to comment.