We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
compiling the driver with gcc 7.2.1 throws the following warning:
/usr/src/rtl8812au-zebulon2/hal/hal_mp.c:991:7: warning: statement will never be executed [-Wswitch-unreachable] u32 reg0xC50 = 0;
The code in question is at the start of a switch() { ... } statement:
... switch (ulAntennaRx) { u32 reg0xC50 = 0; case ANTENNA_A: ...
You probably want to move it one scope up so that it becomes properly initialized with 0 or else might it contain random data.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
compiling the driver with gcc 7.2.1 throws the following warning:
/usr/src/rtl8812au-zebulon2/hal/hal_mp.c:991:7: warning: statement will never be executed [-Wswitch-unreachable]
u32 reg0xC50 = 0;
The code in question is at the start of a switch() { ... } statement:
You probably want to move it one scope up so that it becomes properly initialized with 0 or else might it contain random data.
The text was updated successfully, but these errors were encountered: