Browse Source

Maybe silence -Wunused-result warnings on arch.

tags/non-daw-v1.2.0
Jonathan Moore Liles 9 years ago
parent
commit
6f3e96f311
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      nonlib/Log_Entry.H

+ 2
- 2
nonlib/Log_Entry.H View File

@@ -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…
Cancel
Save