Maybe silence -Wunused-result warnings on arch.
This commit is contained in:
parent
2d43a8abe7
commit
6f3e96f311
|
@ -53,14 +53,14 @@ public:
|
|||
void add ( const char *name, type v ) \
|
||||
{ \
|
||||
grow(); \
|
||||
asprintf( &_sa[ _i ], "%s " format, name, (exp) ); \
|
||||
(void)asprintf( &_sa[ _i ], "%s " format, name, (exp) ); \
|
||||
strtok( _sa[ _i++ ], " " ); \
|
||||
}
|
||||
|
||||
void add_raw ( const char *name, const char *v )
|
||||
{
|
||||
grow();
|
||||
asprintf( &_sa[ _i ], "%s %s", name, v );
|
||||
(void)asprintf( &_sa[ _i ], "%s %s", name, v );
|
||||
strtok( _sa[ _i++ ], " " );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue