From 35df0e5571f8e22e6ebb044db71fe4b45a46bd89 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Mon, 11 Jul 2005 03:24:28 +0000 Subject: [PATCH] Compiler warning fix. --- ext/mime_magic/mime_magic.c | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 2.40.0