Skip to content

Commit a9c6aa5

Browse files
author
omars44
committed
SOLR_PARSE_PARAM_INT: remove unused var
1 parent 2d5f4f6 commit a9c6aa5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/php7/solr_macros.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,6 @@ static inline solr_ustream_t *solr_get_ustream_object(zend_object *obj)
195195
} \
196196
bool is_strict = ZEND_ARG_USES_STRICT_TYPES(); \
197197
bool is_int = Z_TYPE_P(zval_ptr) == IS_LONG, is_str = Z_TYPE_P(zval_ptr) == IS_STRING; \
198-
bool strict_on_and_not_int = is_strict && Z_TYPE_P(zval_ptr) != IS_LONG; \
199198
/* strict mode check, skipped to avoid BC Break */ \
200199
/* if (is_strict && !is_int) { \
201200
solr_throw_exception_ex(solr_ce_SolrIllegalArgumentException, SOLR_ERROR_4000, SOLR_FILE_LINE_FUNC, "%s must be of type int.", param_name); \

0 commit comments

Comments
 (0)