[php-src] PHP-8.5: Merge branch 'PHP-8.4' into PHP-8.5

Go Kudo <[email protected]>
Newsgroups gmane.comp.php.cvs.general
Message-ID <[email protected]>
Author: Go Kudo (zeriyoshi)
Date: 2026-08-15T01:02:39+09:00

Commit: https://github.com/php/php-src/commit/38db04ffa8f090707cf7277e1ff5d5df9a859a3c
Raw diff: https://github.com/php/php-src/commit/38db04ffa8f090707cf7277e1ff5d5df9a859a3c.diff

Merge branch 'PHP-8.4' into PHP-8.5

* PHP-8.4:
  sapi/lsapi: fix returns uninitialized value (#23281)

Changed paths:
  M  sapi/litespeed/lsapi_main.c


Diff:

diff --git a/sapi/litespeed/lsapi_main.c b/sapi/litespeed/lsapi_main.c
index 52aa8fec27b0..9dd4df4887f7 100644
--- a/sapi/litespeed/lsapi_main.c
+++ b/sapi/litespeed/lsapi_main.c
@@ -1445,7 +1445,7 @@ void setArgv0( int argc, char * argv[] )
 #include <fcntl.h>
 int main( int argc, char * argv[] )
 {
-    int ret;
+    int ret = 0;
     int bindFd;
 
     char * php_ini_path = NULL;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.