From edd13a1ae6863f82901254e3b01c2039d39e81ab Mon Sep 17 00:00:00 2001 From: Sergey Isakov Date: Wed, 11 Mar 2020 08:55:10 +0300 Subject: [PATCH] unused argument Signed-off-by: Sergey Isakov --- rEFIt_UEFI/libeg/XImage.cpp | 2 +- rEFIt_UEFI/libeg/XImage.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rEFIt_UEFI/libeg/XImage.cpp b/rEFIt_UEFI/libeg/XImage.cpp index efeda9877..ee36f1a95 100644 --- a/rEFIt_UEFI/libeg/XImage.cpp +++ b/rEFIt_UEFI/libeg/XImage.cpp @@ -313,7 +313,7 @@ unsigned XImage::ToPNG(UINT8** Data, UINTN& OutSize) * scale = 1 correspond to fill the rect with the image * scale = 0.5 will reduce image */ -unsigned XImage::FromSVG(const CHAR8 *SVGData, UINTN FileDataLength, float scale) +unsigned XImage::FromSVG(const CHAR8 *SVGData, float scale) { NSVGimage *SVGimage; NSVGparser* p; diff --git a/rEFIt_UEFI/libeg/XImage.h b/rEFIt_UEFI/libeg/XImage.h index 0d3e618ff..d044e16bb 100644 --- a/rEFIt_UEFI/libeg/XImage.h +++ b/rEFIt_UEFI/libeg/XImage.h @@ -85,7 +85,7 @@ public: void FlipRB(bool WantAlpha); unsigned FromPNG(const UINT8 * Data, UINTN Lenght); unsigned ToPNG(UINT8** Data, UINTN& OutSize); - unsigned FromSVG(const CHAR8 *SVGData, UINTN SVGDataLength, float scale); + unsigned FromSVG(const CHAR8 *SVGData, float scale); void GetArea(const EG_RECT& Rect); void GetArea(INTN x, INTN y, UINTN W, UINTN H); void Draw(INTN x, INTN y, float scale);