termiolink: fix use-of-uninitialized-value

This commit is contained in:
Boris Faure 2022-01-02 17:28:29 +01:00
parent 4765573b51
commit 3b63c4479b
Signed by: borisfaure
GPG Key ID: EAA9CD729F522998
1 changed files with 4 additions and 4 deletions

View File

@ -863,7 +863,7 @@ _parse_one_css_rgb_color(struct ty_sb *sb,
uint8_t *vp,
Eina_Bool *is_percentp)
{
char *endptr_double, *endptr_long;
char *endptr_double = sb->buf, *endptr_long;
double d;
long int l;
@ -918,7 +918,7 @@ static Eina_Bool
_parse_one_css_alpha(struct ty_sb *sb,
uint8_t *ap)
{
char *endptr_double;
char *endptr_double = sb->buf;
double d;
if (!sb->len)
@ -957,7 +957,7 @@ static Eina_Bool
_parse_one_hue(struct ty_sb *sb,
double *dp)
{
char *endptr_double;
char *endptr_double = sb->buf;
double d;
if (!sb->len)
@ -1009,7 +1009,7 @@ static Eina_Bool
_parse_one_percent(struct ty_sb *sb,
double *dp)
{
char *endptr_double;
char *endptr_double = sb->buf;
double d;
if (!sb->len)