mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-05 05:18:00 +02:00
dbus-send: fix init all 3 chars in array using simple syntax
This commit is contained in:
parent
8c1e83deaa
commit
05ed5bbf4b
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue