Add comma in structured initialization in a few places
It just looks nicer…
This commit is contained in:
@@ -413,7 +413,7 @@ static int setup_uploader(Uploader *u, const char *url, const char *state_file)
|
||||
assert(url);
|
||||
|
||||
*u = (Uploader) {
|
||||
.input = -1
|
||||
.input = -1,
|
||||
};
|
||||
|
||||
host = STARTSWITH_SET(url, "http://", "https://");
|
||||
|
||||
@@ -15,7 +15,7 @@ static void test_error(void) {
|
||||
const sd_bus_error temporarily_const_error = {
|
||||
.name = SD_BUS_ERROR_ACCESS_DENIED,
|
||||
.message = "oh! no",
|
||||
._need_free = -1
|
||||
._need_free = -1,
|
||||
};
|
||||
|
||||
assert_se(!sd_bus_error_is_set(&error));
|
||||
|
||||
@@ -215,7 +215,7 @@ static int on_runlevel(Context *c) {
|
||||
static int run(int argc, char *argv[]) {
|
||||
_cleanup_(context_clear) Context c = {
|
||||
#if HAVE_AUDIT
|
||||
.audit_fd = -1
|
||||
.audit_fd = -1,
|
||||
#endif
|
||||
};
|
||||
int r;
|
||||
|
||||
Reference in New Issue
Block a user