Maybe silence -Wunused-result warnings on arch.

This commit is contained in:
Jonathan Moore Liles 2014-05-04 14:02:42 -07:00
parent 2d43a8abe7
commit 6f3e96f311
1 changed files with 2 additions and 2 deletions

View File

@ -53,14 +53,14 @@ public:
void add ( const char *name, type v ) \ void add ( const char *name, type v ) \
{ \ { \
grow(); \ grow(); \
asprintf( &_sa[ _i ], "%s " format, name, (exp) ); \ (void)asprintf( &_sa[ _i ], "%s " format, name, (exp) ); \
strtok( _sa[ _i++ ], " " ); \ strtok( _sa[ _i++ ], " " ); \
} }
void add_raw ( const char *name, const char *v ) void add_raw ( const char *name, const char *v )
{ {
grow(); grow();
asprintf( &_sa[ _i ], "%s %s", name, v ); (void)asprintf( &_sa[ _i ], "%s %s", name, v );
strtok( _sa[ _i++ ], " " ); strtok( _sa[ _i++ ], " " );
} }