summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2005-07-11 03:24:28 +0000
committerIlia Alshanetsky <iliaa@php.net>2005-07-11 03:24:28 +0000
commit35df0e5571f8e22e6ebb044db71fe4b45a46bd89 (patch)
treea78e92a4efd6484d8d23a483afa4941c8f62a6af
parent21ed9234a09490f6d0c89123648c5b5aacee66b2 (diff)
downloadphp-git-35df0e5571f8e22e6ebb044db71fe4b45a46bd89.tar.gz
Compiler warning fix.
-rw-r--r--ext/mime_magic/mime_magic.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/mime_magic/mime_magic.c b/ext/mime_magic/mime_magic.c
index f02e7fb103..c25292af6a 100644
--- a/ext/mime_magic/mime_magic.c
+++ b/ext/mime_magic/mime_magic.c
@@ -1073,6 +1073,8 @@ static int magic_process(zval *what TSRMLS_DC)
streampos = php_stream_tell(stream); /* remember stream position for restauration */
php_stream_seek(stream, 0, SEEK_SET);
break;
+ default:
+ return -1;
}