diff options
author | Karol Lewandowski <k.lewandowsk@samsung.com> | 2024-06-05 14:28:10 +0200 |
---|---|---|
committer | Karol Lewandowski <k.lewandowsk@samsung.com> | 2024-06-05 14:52:38 +0200 |
commit | 5fc04b3c3c2a248ac74ba9e288e27fcc0310af0d (patch) | |
tree | d74b6a3ac17fb17aaefa657f837e863f05bd409b | |
parent | 0e048e1fc111bb158c75e41de531e331946e96dc (diff) | |
download | systemd-5fc04b3c3c2a248ac74ba9e288e27fcc0310af0d.tar.gz systemd-5fc04b3c3c2a248ac74ba9e288e27fcc0310af0d.tar.bz2 systemd-5fc04b3c3c2a248ac74ba9e288e27fcc0310af0d.zip |
tizen: gcc14 fix: Fix pointer type mismatchaccepted/tizen/unified/x/asan/20240625.092256accepted/tizen/unified/x/20240610.223508accepted/tizen/unified/toolchain/20240610.172933accepted/tizen/unified/dev/20240708.001650accepted/tizen/unified/dev/20240620.011124accepted/tizen/unified/20240611.123320
Fixes:
[ 44s] ../src/busctl/busctl.c:1501:72: error: pointer type mismatch in conditional expression [-Wincompatible-pointer-types]
Change-Id: I643474ba424489cd156bef1eb4b4f13e3c780cb0
-rw-r--r-- | src/busctl/busctl.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/busctl/busctl.c b/src/busctl/busctl.c index 2e9df41c71..fa5b3ecc37 100644 --- a/src/busctl/busctl.c +++ b/src/busctl/busctl.c @@ -1371,7 +1371,10 @@ static int prepare_connection_kernel(sd_bus *bus, char *argv[]) return 0; } -static int message_json(sd_bus_message *m, FILE *f) { +static int message_json(sd_bus_message *m, FILE *f, Hashmap *hashmap_wkn, sd_bus *bus) { + (void)hashmap_wkn; + (void)bus; + _cleanup_(json_variant_unrefp) JsonVariant *v = NULL, *w = NULL; char e[2]; int r; |