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 = '-';



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to