com php-src: Silence warning from unhandled enum: ext/phar/phar.c
| From: | Anatol Belski | Date: | Fri, 16 Dec 2016 23:12:33 +0000 |
| Subject: | com php-src: Silence warning from unhandled enum: ext/phar/phar.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-96351@lists.php.net to get a copy of this message | ||
Commit: 5004ae2b628254be334c6faae2b7751051cdc031
Author: Sara Golemon <pollita@php.net> Mon, 12 Dec 2016 21:46:49 -0800
Committer: Anatol Belski <ab@php.net> Sat, 17 Dec 2016 00:12:33 +0100
Parents: 2f9e928af80402eec0aa7f0b52e4e907b6170695
Branches: PHP-7.0 PHP-7.1 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=5004ae2b628254be334c6faae2b7751051cdc031
Log:
Silence warning from unhandled enum
(cherry picked from commit 57bbe2c140752f491b1fa24336b817bd48f65a93)
Changed paths:
M ext/phar/phar.c
Diff:
diff --git a/ext/phar/phar.c b/ext/phar/phar.c
index f3054f5..d4ec1c7 100644
--- a/ext/phar/phar.c
+++ b/ext/phar/phar.c
@@ -3307,6 +3307,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;
}