diff options
author | Liliana Marie Prikler <[email protected]> | 2024-03-09 22:31:25 +0100 |
---|---|---|
committer | Liliana Marie Prikler <[email protected]> | 2024-03-10 00:05:58 +0100 |
commit | 2ee54513196bad8e663e78ac695b6ffa0da49051 (patch) | |
tree | 4686b32c86fd484da0acfa35da69454659504cf7 /gnu/packages/patches/hubbub-maybe-uninitialized.patch | |
parent | fe2b2f860e1fd7dfdc333f65893e65f131e290c7 (diff) | |
parent | 7b9a23ea315d2b4efde755c3bd0b1db3cacba9c2 (diff) |
Merge branch 'master' into gnome-team
Diffstat (limited to 'gnu/packages/patches/hubbub-maybe-uninitialized.patch')
-rw-r--r-- | gnu/packages/patches/hubbub-maybe-uninitialized.patch | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/gnu/packages/patches/hubbub-maybe-uninitialized.patch b/gnu/packages/patches/hubbub-maybe-uninitialized.patch deleted file mode 100644 index 6f289a770e..0000000000 --- a/gnu/packages/patches/hubbub-maybe-uninitialized.patch +++ /dev/null @@ -1,40 +0,0 @@ -From 69d81a8a4d4c223aad67cde0fdf64d64351b9802 Mon Sep 17 00:00:00 2001 -From: Andy Tai <[email protected]> -Date: Sat, 27 May 2023 00:01:34 -0700 -Subject: [PATCH] prevent -Werror=maybe-uninitialized build failure with gcc 11 - when building tests tokeniser2 and tokeniser3 - ---- - test/tokeniser2.c | 2 +- - test/tokeniser3.c | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/test/tokeniser2.c b/test/tokeniser2.c -index c8ab9c0..4caae38 100644 ---- a/test/tokeniser2.c -+++ b/test/tokeniser2.c -@@ -438,7 +438,7 @@ hubbub_error token_handler(const hubbub_token *token, void *pw) - /* Expected token only contained part of the data - * Calculate how much is left, then try again with - * the next expected token */ -- hubbub_token t; -+ hubbub_token t = { 0 }; - - t.type = HUBBUB_TOKEN_CHARACTER; - t.data.character.ptr += len; -diff --git a/test/tokeniser3.c b/test/tokeniser3.c -index e33d018..b3be901 100644 ---- a/test/tokeniser3.c -+++ b/test/tokeniser3.c -@@ -447,7 +447,7 @@ hubbub_error token_handler(const hubbub_token *token, void *pw) - /* Expected token only contained part of the data - * Calculate how much is left, then try again with - * the next expected token */ -- hubbub_token t; -+ hubbub_token t = { 0 }; - - t.type = HUBBUB_TOKEN_CHARACTER; - t.data.character.ptr += len; --- -2.40.1 - |