Add comma in structured initialization in a few places

It just looks nicer…
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2021-02-10 14:43:10 +01:00
parent 170d40260b
commit 61b315de9b
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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://");
+1 -1
View File
@@ -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));
+1 -1
View File
@@ -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;