Skip to content

Commit 85ef01e

Browse files
committed
Remove implicit int declaration from a test
This didn't seem to be the point of the issue but caused the test to fail. Error message: Common.TranslateAssertError@tests/unit/issues/Issue8.d(14): Cannot compile source code. Errors: ---------------- /tmp/dstepZRUFDHDGRGxkGPVu.h:22:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
1 parent d62a12a commit 85ef01e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: tests/unit/issues/Issue8.d

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ typedef struct rd_kafka_metadata {
3333
char *orig_broker_name; /* Name of originating broker */
3434
} rd_kafka_metadata_t;
3535
36-
rd_kafka_metadata (rd_kafka_t *rk, int all_topics,
36+
int rd_kafka_metadata (rd_kafka_t *rk, int all_topics,
3737
rd_kafka_topic_t *only_rkt,
3838
const struct rd_kafka_metadata **metadatap,
3939
int timeout_ms);

0 commit comments

Comments
 (0)