← Commit list

0309c0298

Denys Vlasenko
Denys Vlasenko
2026-05-14
SUCCESS Duration: 145s

Subject

hush: placate warning: 'print_pfx_escaped_nl' defined but not used

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0
gcc -Wp,-MD,applets/.usage.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer      -Iinclude -Iinclude -o applets/usage applets/usage.c

Build Log

(log yok)

Commit Diff GitHub →

shell/hush.c+2 -0
@@ -11835,6 +11835,8 @@ static void print_escaped(const char *s)
putchar('"');
} while (*s);
}
+#endif
+#if ENABLE_HUSH_EXPORT || ENABLE_HUSH_READONLY || ENABLE_HUSH_SET || ENABLE_HUSH_ALIAS
static void print_pfx_escaped_nl(const char *pfx, const char *s)
{
const char *p = strchr(s, '=');