]> granicus.if.org Git - php/commitdiff
Silence warning from unhandled enum
authorSara Golemon <pollita@php.net>
Tue, 13 Dec 2016 05:46:49 +0000 (21:46 -0800)
committerAnatol Belski <ab@php.net>
Fri, 16 Dec 2016 21:55:13 +0000 (22:55 +0100)
(cherry picked from commit 57bbe2c140752f491b1fa24336b817bd48f65a93)

ext/phar/phar.c

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