commit d8b17f9781004ac2ed29c4911a17241262d174f0
parent 45046441969d8fee0249492c1364d0e92c1861c7
Author: Morel BĂ©renger <berengermorel76@gmail.com>
Date: Sun, 6 Oct 2024 19:13:23 +0200
fix -Wpedantic
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/build.ninja b/build.ninja
@@ -25,6 +25,7 @@ CCFLAGS = $$CCFLAGS $
-Werror=cast-qual $
-Werror=c2x-extensions $
-Werror=float-conversion $
+ -Werror=pedantic $
subninja src/librunit.ninja
subninja src/runsv.ninja
diff --git a/src/pathexec_env.c b/src/pathexec_env.c
@@ -70,5 +70,5 @@ void pathexec_env_run(const char *file, const char *const *argv)
void pathexec(const char *const *argv)
{
- return pathexec_env_run(*argv, argv);
+ pathexec_env_run(*argv, argv);
}