From: Ilia Alshanetsky Date: Mon, 11 Jul 2005 03:24:28 +0000 (+0000) Subject: Compiler warning fix. X-Git-Tag: php-5.1.0b3~48 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=35df0e5571f8e22e6ebb044db71fe4b45a46bd89;p=php Compiler warning fix. --- 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; }