dbus-send: fix init all 3 chars in array using simple syntax

This commit is contained in:
GermanAizek 2025-08-23 00:23:13 +03:00
parent 8c1e83deaa
commit 05ed5bbf4b
No known key found for this signature in database
GPG key ID: 1D2DC7BDC7225EF7

View file

@ -146,7 +146,7 @@ append_arg (DBusMessageIter *iter, int type, const char *value)
{
DBusMessageIter subiter;
char sig[2] = "\0\0";
char sig[2] = { '\0' };
char *subtype = strdup (value);
char *c = NULL;