* [bluez/bluez] 9c42e0: mesh: Remove unused but set variable
@ 2026-05-11 13:35 hadess
0 siblings, 0 replies; only message in thread
From: hadess @ 2026-05-11 13:35 UTC (permalink / raw)
To: linux-bluetooth
Branch: refs/heads/1092724
Home: https://github.com/bluez/bluez
Commit: 9c42e065a6d6935510b7708942d9a3b709b8b846
https://github.com/bluez/bluez/commit/9c42e065a6d6935510b7708942d9a3b709b8b846
Author: Bastien Nocera <hadess@hadess.net>
Date: 2026-05-11 (Mon, 11 May 2026)
Changed paths:
M mesh/net.c
Log Message:
-----------
mesh: Remove unused but set variable
We played around with the bits, but didn't do anything with it.
mesh/net.c: In function ‘ack_received’:
mesh/net.c:1569:18: error: variable ‘ack_copy’ set but not used [-Werror=unused-but-set-variable=]
1569 | uint32_t ack_copy = ack_flag;
| ^~~~~~~~
Commit: a099005271bf7c6203c2e359de7486d6147bd717
https://github.com/bluez/bluez/commit/a099005271bf7c6203c2e359de7486d6147bd717
Author: Bastien Nocera <hadess@hadess.net>
Date: 2026-05-11 (Mon, 11 May 2026)
Changed paths:
M tools/mesh/mesh-db.c
Log Message:
-----------
mesh: Fix str{r,}chr usage
Fix the code manipulating "const char *" return values from
json_object_to_json_string_ext() to modify it for printing, we're
not allowed to do that.
tools/mesh/mesh-db.c: In function ‘mesh_db_finish_export’:
tools/mesh/mesh-db.c:2598:13: error: assignment discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
2598 | pos = strrchr(hdr, '}');
| ^
tools/mesh/mesh-db.c:2604:13: error: assignment discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
2604 | pos = strrchr(hdr, '"');
| ^
tools/mesh/mesh-db.c:2613:13: error: assignment discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
2613 | pos = strchr(str, '{');
| ^
Commit: 8493905fe64d4cb18f5b08e47d37a77687baecd3
https://github.com/bluez/bluez/commit/8493905fe64d4cb18f5b08e47d37a77687baecd3
Author: Bastien Nocera <hadess@hadess.net>
Date: 2026-05-11 (Mon, 11 May 2026)
Changed paths:
M mesh/util.c
Log Message:
-----------
mesh: Fix const qualifier dropping when using strchr()
strchr() with a const string returns a const string, we don't change
that string or "next", so make both const and get rid of the warning.
mesh/util.c: In function ‘create_dir’:
mesh/util.c:108:14: error: assignment discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
108 | prev = strchr(dir_name, '/');
| ^
Compare: https://github.com/bluez/bluez/compare/9c42e065a6d6%5E...8493905fe64d
To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-05-11 13:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-11 13:35 [bluez/bluez] 9c42e0: mesh: Remove unused but set variable hadess
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox