[Midnightbsd-cvs] [MidnightBSD/src] ffdead: sys/dev/hptmv/ioctl.c:240:4: error: misleading ind...

Lucas Holt noreply at github.com
Sun Nov 15 01:20:11 EST 2020


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

  Changed paths:
    M sys/dev/hptmv/ioctl.c

  Log Message:
  -----------
  sys/dev/hptmv/ioctl.c:240:4: error: misleading indentation; statement is not part of the previous 'if' [-Werror,-Wmisleading-indentation]
                        _vbus_p=pArray->pVBus;
                        ^
sys/dev/hptmv/ioctl.c:237:10: note: previous statement is here
                if(!mIsArray(pArray))
                ^

This is because the return statement after the if statement was not
indented.  (Note that this file has been idented assuming 4-space tabs.)




More information about the Midnightbsd-cvs mailing list