Skip to content

Commit

Permalink
vcardvalue.c: init some pointers
Browse files Browse the repository at this point in the history
  • Loading branch information
ksmurchison committed Apr 22, 2024
1 parent 7097cc3 commit 6132033
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libicalvcard/vcardvalue.c
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ static char *vcardvalue_utcoffset_as_vcard_string_r(const vcardvalue *value)
static char *vcardvalue_text_as_vcard_string_r(const vcardvalue *value)
{
char *str = NULL;
char *str_p;
char *str_p = NULL;
size_t buf_sz;

return vcardmemory_strdup_and_quote(&str, &str_p, &buf_sz,
Expand Down Expand Up @@ -668,7 +668,7 @@ static void _vcardstrarray_as_vcard_string_r(char **str, char **str_p, size_t *b
char *vcardstrarray_as_vcard_string_r(const vcardstrarray *array, const char sep)
{
char *buf = NULL;
char *buf_ptr;
char *buf_ptr = NULL;
size_t buf_size;

_vcardstrarray_as_vcard_string_r(&buf, &buf_ptr, &buf_size,
Expand Down

0 comments on commit 6132033

Please sign in to comment.