[Midnightbsd-cvs] [MidnightBSD/src] 830d40: Fix the following -Werror warning from clang 10.0.0:

Lucas Holt noreply at github.com
Sun Nov 15 02:03:51 EST 2020


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/src
  Commit: 830d406c9e265b17a696a71b8e6ae1ce39db066b
      https://github.com/MidnightBSD/src/commit/830d406c9e265b17a696a71b8e6ae1ce39db066b
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2020-11-15 (Sun, 15 Nov 2020)

  Changed paths:
    M sys/arm/arm/identcpu-v6.c

  Log Message:
  -----------
  Fix the following -Werror warning from clang 10.0.0:

sys/arm/arm/identcpu-v6.c:227:5: error: misleading indentation; statement is not part of the previous 'if' [-Werror,-Wmisleading-indentation]
                                if (val & CPUV7_CT_CTYPE_RA)
                                ^
sys/arm/arm/identcpu-v6.c:225:4: note: previous statement is here
                        if (val & CPUV7_CT_CTYPE_WB)
                        ^

This was due to an accidentally inserted tab before the if statement.




More information about the Midnightbsd-cvs mailing list