• Zbigniew Jędrzejewski-Szmek's avatar
    Use attribute(unused) in PROTECT_ERRNO · 2a371001
    Zbigniew Jędrzejewski-Szmek authored
    clang emits warnings about unused attribute _saved_errno_, which drown
    out other—potentially useful—warnings. gcc documentation is not exactly
    verbose about the effects of __attribute__((unused)) on variables, but
    let's assume that it works if the unit test passes.
    2a371001
test-util.c 13.1 KB