mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Simplify code.
This commit is contained in:
parent
dbd717591a
commit
321cd10977
1 changed files with 2 additions and 3 deletions
|
@ -50,11 +50,10 @@ PHP_FUNCTION(uniqid)
|
|||
zend_bool more_entropy = 0;
|
||||
#endif
|
||||
char *uniqid;
|
||||
int sec, usec, argc, prefix_len = 0;
|
||||
int sec, usec, prefix_len = 0;
|
||||
struct timeval tv;
|
||||
|
||||
argc = ZEND_NUM_ARGS();
|
||||
if (zend_parse_parameters(argc TSRMLS_CC, "|sb", &prefix, &prefix_len,
|
||||
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|sb", &prefix, &prefix_len,
|
||||
&more_entropy)) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue