Skip to content

Commit 5c8f11e

Browse files
committed
remove obsolete check
1 parent 4b5a94a commit 5c8f11e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

topic_partition.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -391,10 +391,6 @@ ZEND_METHOD(SimpleKafkaClient_TopicPartition, setMetadata)
391391
return;
392392
}
393393

394-
if(Z_TYPE(intern->metadata) == IS_UNDEF) {
395-
RETURN_NULL();
396-
}
397-
398394
intern->metadata = *metadata;
399395

400396
RETURN_ZVAL(getThis(), 1, 0);

0 commit comments

Comments
 (0)