commit 6749362318c3440d36602bbe252f0ad1baaab64b
Author:     Mattias Andrée <[email protected]>
AuthorDate: Mon May 2 14:01:51 2016 +0200
Commit:     Mattias Andrée <[email protected]>
CommitDate: Mon May 2 14:01:51 2016 +0200

    Suppress false -Wclobbered warning
    
    Signed-off-by: Mattias Andrée <[email protected]>

diff --git a/bench/benchmark-func.c b/bench/benchmark-func.c
index 6c33d11..7f4d093 100644
--- a/bench/benchmark-func.c
+++ b/bench/benchmark-func.c
@@ -291,9 +291,9 @@ destroy_ints(z_t *array, size_t start, size_t end)
 int
 main(int argc, char *argv[])
 {
-       struct function *fs = functions;
+       static struct function *fs = functions;
+       static z_t *as = 0, *bs = 0;
        jmp_buf jmp;
-       z_t *as = 0, *bs = 0;
 
        if (argc != 2) {
                fprintf(stderr, "usage: %s function\n", *argv);

Reply via email to