From: Sara Golemon Date: Tue, 13 Dec 2016 05:46:49 +0000 (-0800) Subject: Silence warning from unhandled enum X-Git-Tag: php-7.1.1RC1~85^2~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=587f1b2427458d1bc2b2d17934a0ad068315405d;p=php Silence warning from unhandled enum (cherry picked from commit 57bbe2c140752f491b1fa24336b817bd48f65a93) --- diff --git a/ext/phar/phar.c b/ext/phar/phar.c index c33d6e5e9c..dc469daf6f 100644 --- a/ext/phar/phar.c +++ b/ext/phar/phar.c @@ -3290,6 +3290,8 @@ static zend_op_array *phar_compile_file(zend_file_handle *file_handle, int type) } file_handle->handle.stream.handle = NULL; break; + default: + break; } *file_handle = f; }