com php-src: Silence warning from unhandled enum: ext/phar/phar.c
| From: | Anatol Belski | Date: | Fri, 16 Dec 2016 21:55:13 +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-96348@lists.php.net to get a copy of this message | ||
Commit: 587f1b2427458d1bc2b2d17934a0ad068315405d
Author: Sara Golemon <pollita@php.net> Mon, 12 Dec 2016 21:46:49 -0800
Committer: Anatol Belski <ab@php.net> Fri, 16 Dec 2016 22:55:13 +0100
Parents: 9cdf64c2251a94f7b6bee47d0889e88dbaf5118c
Branches: PHP-7.1 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=587f1b2427458d1bc2b2d17934a0ad068315405d
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 c33d6e5..dc469da 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;
}