* [bluez/bluez] 998452: client/btpclient: Fix build warning
@ 2026-02-17 19:34 Rudi Heitbaum
0 siblings, 0 replies; only message in thread
From: Rudi Heitbaum @ 2026-02-17 19:34 UTC (permalink / raw)
To: linux-bluetooth
Branch: refs/heads/master
Home: https://github.com/bluez/bluez
Commit: 99845224fd4aeadd5f2a860f1af804c5f127256e
https://github.com/bluez/bluez/commit/99845224fd4aeadd5f2a860f1af804c5f127256e
Author: Frédéric Danis <frederic.danis@collabora.com>
Date: 2026-02-17 (Tue, 17 Feb 2026)
Changed paths:
M client/btpclient/gap.c
Log Message:
-----------
client/btpclient: Fix build warning
client/btpclient/gap.c:2359:3: warning: Value stored to 'reply' is never
read [deadcode.DeadStores]
2359 | reply = l_dbus_message_new_error(ag->pending_req,
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2360 | "org.bluez.Error.Rejected",
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
2361 | "Passkey mismatch");
| ~~~~~~~~~~~~~~~~~~~
1 warning generated.
Commit: 450e99f0801faa22d9a622b8c0d961641b407d2e
https://github.com/bluez/bluez/commit/450e99f0801faa22d9a622b8c0d961641b407d2e
Author: Rudi Heitbaum <rudi@heitbaum.com>
Date: 2026-02-17 (Tue, 17 Feb 2026)
Changed paths:
M src/shared/shell.c
M src/textfile.c
M tools/hciattach_ath3k.c
Log Message:
-----------
src: retain const qualifier from pointer
Since glibc-2.43:
For ISO C23, the functions bsearch, memchr, strchr, strpbrk, strrchr,
strstr, wcschr, wcspbrk, wcsrchr, wcsstr and wmemchr that return
pointers into their input arrays now have definitions as macros that
return a pointer to a const-qualified type when the in put argument
is a pointer to a const-qualified type.
https://lists.gnu.org/archive/html/info-gnu/2026-01/msg00005.html
fixes:
- warning: assignment discards 'const' qualifier from pointer target
type [-Wdiscarded-qualifiers]
Compare: https://github.com/bluez/bluez/compare/feb4ee9dcd4b...450e99f0801f
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-02-17 19:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-17 19:34 [bluez/bluez] 998452: client/btpclient: Fix build warning Rudi Heitbaum
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox