<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><br>
</p>
<br>
<div class="moz-cite-prefix">On 08/15/2018 05:57 PM, Colin King
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:20180815095731.7282-1-colin.king@canonical.com">
<pre wrap="">From: Colin Ian King <a class="moz-txt-link-rfc2396E" href="mailto:colin.king@canonical.com"><colin.king@canonical.com></a>
Pointer 'ptr' can be removed as it is a shadow of a previously
declared pointer with the same name and we don't need another
copy of one of the same name.
Signed-off-by: Colin Ian King <a class="moz-txt-link-rfc2396E" href="mailto:colin.king@canonical.com"><colin.king@canonical.com></a>
---
src/lib/src/fwts_acpi_tables.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/lib/src/fwts_acpi_tables.c b/src/lib/src/fwts_acpi_tables.c
index f28ed60a..ccf0a7b1 100644
--- a/src/lib/src/fwts_acpi_tables.c
+++ b/src/lib/src/fwts_acpi_tables.c
@@ -595,7 +595,6 @@ static uint8_t *fwts_acpi_load_table_from_acpidump(
*/
while (fgets(buffer, sizeof(buffer), fp) ) {
uint8_t *new_tmp;
- char *ptr;
int n;
/* Get offset */
</pre>
</blockquote>
<br>
Acked-by: Ivan Hu <a class="moz-txt-link-rfc2396E"
href="mailto:ivan.hu@canonical.com"><ivan.hu@canonical.com></a>
</body>
</html>