X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-cli.git;a=blobdiff_plain;f=show.c;h=533ab1e55d8c65a3d4277c2d9ce105f1e66a2482;hp=9491110bdcfdbb82d1c0f469a02e47d043fb0875;hb=81f781288ab8ce19c46d2f090a16428d28fe0435;hpb=3f85a61849759896e0e9b009be14a696108d4309 diff --git a/show.c b/show.c index 9491110..533ab1e 100644 --- a/show.c +++ b/show.c @@ -321,7 +321,7 @@ void show_dev_detail(void) GVariant *gvar_dict, *gvar_list, *gvar; gsize num_elements; double dlow, dhigh, dcur_low, dcur_high; - const uint64_t *uint64, p, q, low, high; + const uint64_t *uint64, p = 0, q = 0, low = 0, high = 0; uint64_t tmp_uint64, mask, cur_low, cur_high, cur_p, cur_q; GArray *opts; const int32_t *int32;