const char* contents, ssize_t size, int code) {
int r;
char name[] = "/tmp/test-catalog.XXXXXX";
- int _cleanup_close_ fd = mkstemp(name);
+ _cleanup_close_ int fd = mkstemp(name);
assert(fd >= 0);
assert_se(write(fd, contents, size) == size);
static void test_catalog_update(void) {
int r;
- char _cleanup_free_ *path = NULL;
static char name[] = "/tmp/test-catalog.XXXXXX";
r = mkstemp(name);