diff options
author | Khem Raj <raj.khem@gmail.com> | 2016-12-08 18:57:59 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-12-13 22:47:31 +0000 |
commit | 908570a0da4bf755eb06fed817676c26351ab375 (patch) | |
tree | bffa3b2fcc300099a0e727aa4972ecb42adf5e30 /meta/recipes-sato/puzzles/files/0001-rect-Fix-compiler-errors-about-uninitialized-use-of-.patch | |
parent | cf4d28d7d9820cc8f658670f766267d35133865f (diff) | |
download | openembedded-core-contrib-908570a0da4bf755eb06fed817676c26351ab375.tar.gz |
puzzles: Upgrade and fix with clang
Delete upstreamed patches
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-sato/puzzles/files/0001-rect-Fix-compiler-errors-about-uninitialized-use-of-.patch')
-rw-r--r-- | meta/recipes-sato/puzzles/files/0001-rect-Fix-compiler-errors-about-uninitialized-use-of-.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/meta/recipes-sato/puzzles/files/0001-rect-Fix-compiler-errors-about-uninitialized-use-of-.patch b/meta/recipes-sato/puzzles/files/0001-rect-Fix-compiler-errors-about-uninitialized-use-of-.patch deleted file mode 100644 index 0b971c432e..0000000000 --- a/meta/recipes-sato/puzzles/files/0001-rect-Fix-compiler-errors-about-uninitialized-use-of-.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 78d6d1706c21ad467520075ff7a8bf15cfbd68b3 Mon Sep 17 00:00:00 2001 -From: Khem Raj <raj.khem@gmail.com> -Date: Wed, 30 Dec 2015 22:13:16 +0000 -Subject: [PATCH] rect: Fix compiler errors about uninitialized use of - variables - -error: 'r2.x' may be used uninitialized in this function - -Signed-off-by: Khem Raj <raj.khem@gmail.com> ---- -Upstream-Status: Submitted - - rect.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/rect.c b/rect.c -index 55667c0..fa3a786 100644 ---- a/rect.c -+++ b/rect.c -@@ -1317,7 +1317,8 @@ static char *new_game_desc(const game_params *params_in, random_state *rs, - if (ndirs > 0) { - int which, dir; - struct rect r1, r2; -- -+ memset(&r1, 0, sizeof(struct rect)); -+ memset(&r2, 0, sizeof(struct rect)); - which = random_upto(rs, ndirs); - dir = dirs[which]; - --- -2.6.4 - |