Date: Sat, 15 Feb 2020 18:37:26 +0000 (UTC) From: Dimitry Andric <dim@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r357970 - projects/clang1000-import/sys/dev/hptmv Message-ID: <202002151837.01FIbQRu062976@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dim Date: Sat Feb 15 18:37:26 2020 New Revision: 357970 URL: https://svnweb.freebsd.org/changeset/base/357970 Log: Fix the following -Werror warning from clang 10.0.0 in hptmv(4): 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.) MFC after: 3 days Modified: projects/clang1000-import/sys/dev/hptmv/ioctl.c Modified: projects/clang1000-import/sys/dev/hptmv/ioctl.c ============================================================================== --- projects/clang1000-import/sys/dev/hptmv/ioctl.c Sat Feb 15 18:14:23 2020 (r357969) +++ projects/clang1000-import/sys/dev/hptmv/ioctl.c Sat Feb 15 18:37:26 2020 (r357970) @@ -235,7 +235,7 @@ int Kernel_DeviceIoControl(_VBUS_ARG return -1; if(!mIsArray(pArray)) - return -1; + return -1; _vbus_p=pArray->pVBus; pAdapter = (IAL_ADAPTER_T *)_vbus_p->OsExt;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202002151837.01FIbQRu062976>