@@ -1471,7 +1471,7 @@ int message_append_basic(sd_bus_message *m, char type, const void *p, const void
14711471 if (c -> enclosing != 0 )
14721472 return - ENXIO ;
14731473
1474- e = strextend (& c -> signature , CHAR_TO_STR (type ), NULL );
1474+ e = strextend (& c -> signature , CHAR_TO_STR (type ));
14751475 if (!e ) {
14761476 m -> poisoned = true;
14771477 return - ENOMEM ;
@@ -1664,7 +1664,7 @@ _public_ int sd_bus_message_append_string_space(
16641664 if (c -> enclosing != 0 )
16651665 return - ENXIO ;
16661666
1667- e = strextend (& c -> signature , CHAR_TO_STR (SD_BUS_TYPE_STRING ), NULL );
1667+ e = strextend (& c -> signature , CHAR_TO_STR (SD_BUS_TYPE_STRING ));
16681668 if (!e ) {
16691669 m -> poisoned = true;
16701670 return - ENOMEM ;
@@ -1768,7 +1768,7 @@ static int bus_message_open_array(
17681768
17691769 /* Extend the existing signature */
17701770
1771- e = strextend (& c -> signature , CHAR_TO_STR (SD_BUS_TYPE_ARRAY ), contents , NULL );
1771+ e = strextend (& c -> signature , CHAR_TO_STR (SD_BUS_TYPE_ARRAY ), contents );
17721772 if (!e ) {
17731773 m -> poisoned = true;
17741774 return - ENOMEM ;
@@ -1853,7 +1853,7 @@ static int bus_message_open_variant(
18531853 if (c -> enclosing != 0 )
18541854 return - ENXIO ;
18551855
1856- e = strextend (& c -> signature , CHAR_TO_STR (SD_BUS_TYPE_VARIANT ), NULL );
1856+ e = strextend (& c -> signature , CHAR_TO_STR (SD_BUS_TYPE_VARIANT ));
18571857 if (!e ) {
18581858 m -> poisoned = true;
18591859 return - ENOMEM ;
@@ -1921,7 +1921,7 @@ static int bus_message_open_struct(
19211921 if (c -> enclosing != 0 )
19221922 return - ENXIO ;
19231923
1924- e = strextend (& c -> signature , CHAR_TO_STR (SD_BUS_TYPE_STRUCT_BEGIN ), contents , CHAR_TO_STR (SD_BUS_TYPE_STRUCT_END ), NULL );
1924+ e = strextend (& c -> signature , CHAR_TO_STR (SD_BUS_TYPE_STRUCT_BEGIN ), contents , CHAR_TO_STR (SD_BUS_TYPE_STRUCT_END ));
19251925 if (!e ) {
19261926 m -> poisoned = true;
19271927 return - ENOMEM ;
@@ -2776,7 +2776,7 @@ _public_ int sd_bus_message_append_string_memfd(
27762776 if (c -> enclosing != 0 )
27772777 return - ENXIO ;
27782778
2779- e = strextend (& c -> signature , CHAR_TO_STR (SD_BUS_TYPE_STRING ), NULL );
2779+ e = strextend (& c -> signature , CHAR_TO_STR (SD_BUS_TYPE_STRING ));
27802780 if (!e ) {
27812781 m -> poisoned = true;
27822782 return - ENOMEM ;
0 commit comments