src/FDM/ExternalPipe/ExternalPipe.cxx: avoid gcc warning.
This commit is contained in:
parent
a00e9e571d
commit
50ef1cf337
1 changed files with 1 additions and 1 deletions
|
@ -184,9 +184,9 @@ static int write_binary( char cmd_type, FILE *pd, char *cmd, int len ) {
|
|||
|
||||
|
||||
static int write_property( FILE *pd, char *cmd ) {
|
||||
int len = strlen(cmd);
|
||||
|
||||
#ifdef HAVE_MKFIFO
|
||||
int len = strlen(cmd);
|
||||
char *buf = new char[len + 1];
|
||||
|
||||
memcpy( buf, cmd, len );
|
||||
|
|
Loading…
Add table
Reference in a new issue