mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
lib/xzembed/xz_dec_bcj: Silence warning when no BCJ is available
BCJ is not available for all platforms hence arguments may end up unused. Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
1 parent
e61157bbd2
commit
f0710d2d8f
1 file changed
+1
-1
@@ -353,7 +353,7 @@ static noinline_for_stack size_t bcj_sparc(
|
|||||||
* avoid pointers to static data (at least on x86).
|
* avoid pointers to static data (at least on x86).
|
||||||
*/
|
*/
|
||||||
static void bcj_apply(struct xz_dec_bcj *s,
|
static void bcj_apply(struct xz_dec_bcj *s,
|
||||||
uint8_t *buf, size_t *pos, size_t size)
|
uint8_t *buf __attribute__((unused)), size_t *pos, size_t size __attribute__((unused)))
|
||||||
{
|
{
|
||||||
size_t filtered;
|
size_t filtered;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user