helly Sun Aug 17 15:14:30 2003 EDT
Modified files:
/php-src/sapi/cli php_cli.c
Log:
Fix warnings
Index: php-src/sapi/cli/php_cli.c
diff -u php-src/sapi/cli/php_cli.c:1.98 php-src/sapi/cli/php_cli.c:1.99
--- php-src/sapi/cli/php_cli.c:1.98 Tue Aug 12 21:29:51 2003
+++ php-src/sapi/cli/php_cli.c Sun Aug 17 15:14:30 2003
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_cli.c,v 1.98 2003/08/13 01:29:51 iliaa Exp $ */
+/* $Id: php_cli.c,v 1.99 2003/08/17 19:14:30 helly Exp $ */
#include "php.h"
#include "php_globals.h"
@@ -418,7 +418,6 @@
efree(*arg);
}
-static php_stream_context *sc_in_process = NULL;
static php_stream *s_in_process = NULL;
static void cli_register_file_handles(TSRMLS_D)
@@ -440,7 +439,6 @@
return;
}
- sc_in_process = sc_in;
s_in_process = s_in;
php_stream_to_zval(s_in, zin);
@@ -525,7 +523,6 @@
int lineno = 0;
char *exec_direct=NULL, *exec_run=NULL, *exec_begin=NULL, *exec_end=NULL;
const char *param_error=NULL;
- int scan_input = 0;
int hide_argv = 0;
/* end of temporary locals */
#ifdef ZTS
@@ -801,7 +798,6 @@
param_error = param_mode_conflict;
break;
}
- scan_input = 1;
behavior=PHP_MODE_PROCESS_STDIN;
exec_end=optarg;
break;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php