summaryrefslogtreecommitdiffhomepage
path: root/docs/tutorials/03-memory.md
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2023-11-01 14:07:48 +0100
committerJo-Philipp Wich <jo@mein.io>2023-11-01 14:14:22 +0100
commitcdc02034cfd4ba5f94bf26ee9e9c23609a9c47a4 (patch)
treecdf2289284c99077dbeebf045d461ebe34ac5f61 /docs/tutorials/03-memory.md
parenta69b5c8c416342a7855da19dfdc264a078f30848 (diff)
nl80211: fix maybe uninitialized variable
When compiling with optimizations, gcc reports: .../nl80211.c: In function ‘uc_nl_convert_rta_vht_mcs’: .../nl80211.c:1310:31: error: ‘max_idx’ may be used uninitialized [-Werror=maybe-uninitialized] 1310 | for (j = 0; j <= max_idx; j++) | ~~^~~~~~~~~~ Slightly refactor the code to avoid this issue. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'docs/tutorials/03-memory.md')
0 files changed, 0 insertions, 0 deletions