diff options
-rw-r--r-- | recipes-core/ovmf/files/0001-Compare-c-string-with-NULL-instead-of-a-literal.patch | 25 | ||||
-rw-r--r-- | recipes-core/ovmf/ovmf_%.bbappend | 3 |
2 files changed, 0 insertions, 28 deletions
diff --git a/recipes-core/ovmf/files/0001-Compare-c-string-with-NULL-instead-of-a-literal.patch b/recipes-core/ovmf/files/0001-Compare-c-string-with-NULL-instead-of-a-literal.patch deleted file mode 100644 index 6bdaf7e..0000000 --- a/recipes-core/ovmf/files/0001-Compare-c-string-with-NULL-instead-of-a-literal.patch +++ /dev/null | |||
@@ -1,25 +0,0 @@ | |||
1 | From 6c730f3da7490ffbba5ad17af29ca44ed167cbfc Mon Sep 17 00:00:00 2001 | ||
2 | From: Patrick Vacek <patrickvacek@gmail.com> | ||
3 | Date: Tue, 13 Feb 2018 16:38:15 +0100 | ||
4 | Subject: [PATCH] Compare c-string with NULL instead of a literal. | ||
5 | |||
6 | --- | ||
7 | BaseTools/Source/C/VfrCompile/VfrUtilityLib.cpp | 2 +- | ||
8 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
9 | |||
10 | diff --git a/BaseTools/Source/C/VfrCompile/VfrUtilityLib.cpp b/BaseTools/Source/C/VfrCompile/VfrUtilityLib.cpp | ||
11 | index 3ca57ed741..4fa066dd9f 100644 | ||
12 | --- a/BaseTools/Source/C/VfrCompile/VfrUtilityLib.cpp | ||
13 | +++ b/BaseTools/Source/C/VfrCompile/VfrUtilityLib.cpp | ||
14 | @@ -3372,7 +3372,7 @@ CVfrStringDB::GetVarStoreNameFormStringId ( | ||
15 | UINT8 BlockType; | ||
16 | EFI_HII_STRING_PACKAGE_HDR *PkgHeader; | ||
17 | |||
18 | - if (mStringFileName == '\0' ) { | ||
19 | + if (mStringFileName == NULL ) { | ||
20 | return NULL; | ||
21 | } | ||
22 | |||
23 | -- | ||
24 | 2.14.1 | ||
25 | |||
diff --git a/recipes-core/ovmf/ovmf_%.bbappend b/recipes-core/ovmf/ovmf_%.bbappend deleted file mode 100644 index 142fc53..0000000 --- a/recipes-core/ovmf/ovmf_%.bbappend +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | ||
2 | |||
3 | SRC_URI_append = "file://0001-Compare-c-string-with-NULL-instead-of-a-literal.patch" | ||