cvs: php4 /ext/standard basic_functions.c

From: Date: Sat, 02 Nov 2002 10:34:51 +0000
Subject: cvs: php4 /ext/standard basic_functions.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-15724@lists.php.net to get a copy of this message
helly Sat Nov 2 05:34:51 2002 EDT Modified files: /php4/ext/standard basic_functions.c Log: fix a warning Index: php4/ext/standard/basic_functions.c diff -u php4/ext/standard/basic_functions.c:1.540 php4/ext/standard/basic_functions.c:1.541 --- php4/ext/standard/basic_functions.c:1.540 Wed Oct 30 10:11:10 2002 +++ php4/ext/standard/basic_functions.c Sat Nov 2 05:34:51 2002 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: basic_functions.c,v 1.540 2002/10/30 15:11:10 hholzgra Exp $ */ +/* $Id: basic_functions.c,v 1.541 2002/11/02 10:34:51 helly Exp $ */ #include "php.h" #include "php_streams.h" @@ -1519,6 +1519,9 @@ if(o == 0) { #ifdef HARTMUT_0 optname = (char *)longopts[longindex].name; +#else + /* o == 0 shall never happen so this only fixes a compiler warning */ + optname = NULL; #endif } else { if(o == 1) o = '-';

« previous php.cvs (#15724) next »