Skip to content
Snippets Groups Projects
Commit f0813ab1 authored by Stefan Roese's avatar Stefan Roese Committed by Wolfgang Denk
Browse files

4xx_enet.c: Fix GCC 4.6 build warnings


Fix:
4xx_enet.c: In function 'ppc_4xx_eth_init':
4xx_enet.c:875:6: warning: variable 'ethgroup' set but not used [-Wunused-but-set-variable]

I used "__maybe_unused" here intentionally, since all other
alternatives to fix this compilation warning would result in more
ifdef's.

Signed-off-by: default avatarStefan Roese <sr@denx.de>
parent af0af524
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment