Browse Source

Silence warnings about asprintf return value.

tags/non-daw-v1.1.0
Jonathan Moore Liles 15 years ago
parent
commit
e8eae16fa1
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      nonlib/Log_Entry.H

+ 2
- 1
nonlib/Log_Entry.H View File

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



Loading…
Cancel
Save