diff options
author | Cem Keylan <cem@ckyln.com> | 2020-01-09 16:36:57 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-01-09 16:36:57 +0300 |
commit | 4baab048c77a9e3d1c009f2b0eef34c708dc5ac0 (patch) | |
tree | f32aa6b961fe430d4093dd6fd223d261eaa01d9f /extra/efivar/patches/fdb803402fb32fa6d020bac57a40c7efe4aabb7d.patch | |
parent | 4adfb3ee5e871b2103c4c2c0de06f969363247d0 (diff) | |
download | repository-4baab048c77a9e3d1c009f2b0eef34c708dc5ac0.tar.gz |
efivar: Pull patches from KISS to fix verbose issues in efibootmgr
Diffstat (limited to 'extra/efivar/patches/fdb803402fb32fa6d020bac57a40c7efe4aabb7d.patch')
-rw-r--r-- | extra/efivar/patches/fdb803402fb32fa6d020bac57a40c7efe4aabb7d.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/extra/efivar/patches/fdb803402fb32fa6d020bac57a40c7efe4aabb7d.patch b/extra/efivar/patches/fdb803402fb32fa6d020bac57a40c7efe4aabb7d.patch new file mode 100644 index 00000000..513c0e73 --- /dev/null +++ b/extra/efivar/patches/fdb803402fb32fa6d020bac57a40c7efe4aabb7d.patch @@ -0,0 +1,31 @@ +From fdb803402fb32fa6d020bac57a40c7efe4aabb7d Mon Sep 17 00:00:00 2001 +From: Javier Martinez Canillas <javierm@redhat.com> +Date: Tue, 5 Mar 2019 17:23:24 +0100 +Subject: [PATCH] ucs2.h: remove unused variable + +The const uint16_t pointer is not used since now the two bytes of the +UCS-2 chars are checked to know if is the termination of the string. + +Signed-off-by: Javier Martinez Canillas <javierm@redhat.com> +--- + src/ucs2.h | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/src/ucs2.h b/src/ucs2.h +index edd8367..e0390c3 100644 +--- a/src/ucs2.h ++++ b/src/ucs2.h +@@ -26,12 +26,11 @@ static inline size_t UNUSED + ucs2len(const void *vs, ssize_t limit) + { + ssize_t i; +- const uint16_t *s = vs; + const uint8_t *s8 = vs; + + for (i = 0; + i < (limit >= 0 ? limit : i+1) && s8[0] != 0 && s8[1] != 0; +- i++, s8 += 2, s++) ++ i++, s8 += 2) + ; + return i; + } |