summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>1999-09-04 22:15:51 +0000
committerRasmus Lerdorf <rasmus@php.net>1999-09-04 22:15:51 +0000
commitf42659a8f1bfb6c81df41da4c1805aeb11164a78 (patch)
tree114896204c728f4b959158fc008b68bb4ae0af91
parentce4e09daff7927a1a6d41f1532dfcd00dc733281 (diff)
downloadphp-git-f42659a8f1bfb6c81df41da4c1805aeb11164a78.tar.gz
Kill a warning
-rw-r--r--ext/standard/exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/exec.c b/ext/standard/exec.c
index 50de415568..bdaa883bc9 100644
--- a/ext/standard/exec.c
+++ b/ext/standard/exec.c
@@ -188,7 +188,7 @@ static int _Exec(int type, char *cmd, pval *array, pval *return_value)
while ((b = fread(buf, 1, sizeof(buf), fp)) > 0) {
for (i = 0; i < b; i++)
- if (output) PUTC(buf[i]);
+ if (output) (void)PUTC(buf[i]);
}
}