Simplify code.

This commit is contained in:
Ilia Alshanetsky 2004-10-28 22:22:22 +00:00
parent dbd717591a
commit 321cd10977

View file

@ -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;
}