]> granicus.if.org Git - php/commitdiff
- comment out fpm_php_set_fcgi_mgmt_vars to remove compilation warning
authorJérôme Loyet <fat@php.net>
Thu, 11 Nov 2010 21:30:55 +0000 (21:30 +0000)
committerJérôme Loyet <fat@php.net>
Thu, 11 Nov 2010 21:30:55 +0000 (21:30 +0000)
sapi/fpm/fpm/fpm_php.c

index ce5dac4bcfb45a8816b9c9ae31fb654a234396c6..eeba71301a7f46838d5b967aaf448c77d8c23956 100644 (file)
@@ -139,6 +139,7 @@ static int fpm_php_set_allowed_clients(struct fpm_worker_pool_s *wp) /* {{{ */
 }
 /* }}} */
 
+#if 0 /* Comment out this non used function. It could be used later. */
 static int fpm_php_set_fcgi_mgmt_vars(struct fpm_worker_pool_s *wp) /* {{{ */
 {
        char max_workers[10 + 1]; /* 4294967295 */
@@ -151,6 +152,7 @@ static int fpm_php_set_fcgi_mgmt_vars(struct fpm_worker_pool_s *wp) /* {{{ */
        return 0;
 }
 /* }}} */
+#endif
 
 char *fpm_php_script_filename(TSRMLS_D) /* {{{ */
 {