This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Hurd".
The branch, master has been updated
via 0a577d4f4ee126fc254f5136d25ee265311ddfed (commit)
via 70de4f42aa49aefb797bdeaccfbecbd7de85d369 (commit)
from 738604eec8a02c14b98cc5a5893b8a3b6eda6403 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 0a577d4f4ee126fc254f5136d25ee265311ddfed
Author: Diego Nieto Cid <[email protected]>
Date: Sun Sep 28 19:17:17 2025 +0100
boot: remove unused function safe_gets
As a test I made the function static revealing it was unused in the file,
as the following warning suggests.
../../boot/boot.c: At top level:
../../boot/boot.c:157:13: warning: 'safe_gets' defined but not used
[-Wunused-function]
157 | static void safe_gets (char *buf, int buf_len)
| ^~~~~~~~~
Git grep showed no other usage of the name safe_gets in the Hurd project.
Message-ID: <[email protected]>
commit 70de4f42aa49aefb797bdeaccfbecbd7de85d369
Author: Diego Nieto Cid <[email protected]>
Date: Sun Sep 28 19:17:15 2025 +0100
libps: fix ignored asprintf result warnings
../../libps/fmt.c: In function '_fmt_create':
../../libps/fmt.c:181:21: warning: ignoring return value of 'asprintf'
declared with attribute 'warn_unused_result' [-Wunused-result]
181 | asprintf (err_string, "%s: Unknown format
spec", src);
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../libps/fmt.c:250:17: warning: ignoring return value of 'asprintf'
declared with attribute 'warn_unused_result' [-Wunused-result]
250 | asprintf (err_string, "%s: Unknown format
spec", name);
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../libps/fmt.c: In function 'ps_fmt_creation_error':
../../libps/fmt.c:340:5: warning: ignoring return value of 'asprintf'
declared with attribute 'warn_unused_result' [-Wunused-result]
340 | asprintf (error, "%s", strerror (err));
Message-ID: <[email protected]>
-----------------------------------------------------------------------
Summary of changes:
boot/boot.c | 5 -----
libps/fmt.c | 5 ++++-
2 files changed, 4 insertions(+), 6 deletions(-)
hooks/post-receive
--
Hurd