]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
quiet compiler warning
authorAlan T. DeKok <aland@freeradius.org>
Sun, 4 Jan 2026 22:49:34 +0000 (17:49 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Sun, 4 Jan 2026 22:49:34 +0000 (17:49 -0500)
src/lib/util/time.c

index a965af202b4766b99523aa2d2cc47834494cbf57..86ea29779fa75a63f5a1dc9721b924e66aeee3e8 100644 (file)
@@ -215,8 +215,8 @@ fr_slen_t fr_time_delta_from_substr(fr_time_delta_t *out, fr_sbuff_t *in, fr_tim
                                    bool no_trailing, fr_sbuff_term_t const *tt)
 {
        fr_sbuff_t              our_in = FR_SBUFF(in);
-       int64_t                 integer;        /* Whole units */
-       double                  f;
+       int64_t                 integer = 0;    /* Whole units */
+       double                  f = 0.0;
        fr_time_res_t           res;
        bool                    do_float;
        bool                    negative;