com php-src: Silence warning from unhandled enum: ext/phar/phar.c
| From: | Sara Golemon | Date: | Tue, 13 Dec 2016 07:25:57 +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-96317@lists.php.net to get a copy of this message | ||
Commit: 57bbe2c140752f491b1fa24336b817bd48f65a93
Author: Sara Golemon <pollita@php.net> Mon, 12 Dec 2016 21:46:49 -0800
Parents: 613ee726a847489d92638bf3f80d380b0e24ccb2
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=57bbe2c140752f491b1fa24336b817bd48f65a93
Log:
Silence warning from unhandled enum
Changed paths:
M ext/phar/phar.c
Diff:
diff --git a/ext/phar/phar.c b/ext/phar/phar.c
index a02a30b..de2ec90 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;
}