]> granicus.if.org Git - php/commitdiff
Compiler warning fix.
authorIlia Alshanetsky <iliaa@php.net>
Mon, 11 Jul 2005 03:24:28 +0000 (03:24 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Mon, 11 Jul 2005 03:24:28 +0000 (03:24 +0000)
ext/mime_magic/mime_magic.c

index f02e7fb1037d15d9cc09d6facbec550c6a829159..c25292af6ab0851812fc0f0396bd32af4f5d26ce 100644 (file)
@@ -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;      
        }