com php-src: Fixed compiler warning(enumeration value ‘SPL_FS_INFO’ not handled in switch ): ext/spl/spl_directory.c
| From: | Xinchen Hui | Date: | Tue, 08 Aug 2017 02:11:53 +0000 |
| Subject: | com php-src: Fixed compiler warning(enumeration value ‘SPL_FS_INFO’ not handled in switch ): ext/spl/spl_directory.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-98966@lists.php.net to get a copy of this message | ||
Commit: 5c9330bb878451c61cc99c888b2bc11c3f913b12
Author: Xinchen Hui <laruence@gmail.com> Tue, 8 Aug 2017 10:11:35 +0800
Parents: 791410ab66ead3f5517e7b02f7457d302a6b8707
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=5c9330bb878451c61cc99c888b2bc11c3f913b12
Log:
Fixed compiler warning(enumeration value ‘SPL_FS_INFO’ not handled in switch)
Changed paths:
M ext/spl/spl_directory.c
Diff:
diff --git a/ext/spl/spl_directory.c b/ext/spl/spl_directory.c
index f168655..470e5b4 100644
--- a/ext/spl/spl_directory.c
+++ b/ext/spl/spl_directory.c
@@ -99,6 +99,8 @@ static void spl_filesystem_object_destroy_object(zend_object *object) /* {{{ */
}
}
break;
+ default:
+ break;
}
} /* }}} */