]> sigrok.org Git - sigrok-cli.git/blobdiff - show.c
Fix various clang warnings.
[sigrok-cli.git] / show.c
diff --git a/show.c b/show.c
index 9491110bdcfdbb82d1c0f469a02e47d043fb0875..533ab1e55d8c65a3d4277c2d9ce105f1e66a2482 100644 (file)
--- 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;