Date: Tue, 5 May 2020 21:01:44 +0000 (UTC) From: Dimitry Andric <dim@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r360675 - stable/11/usr.sbin/lmcconfig Message-ID: <202005052101.045L1iAU092811@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dim Date: Tue May 5 21:01:43 2020 New Revision: 360675 URL: https://svnweb.freebsd.org/changeset/base/360675 Log: Fix misleading indentation warning: usr.sbin/lmcconfig/lmcconfig.c:941:39: error: misleading indentation; statement is not part of the previous 'if' [-Werror,-Wmisleading-indentation] return 64.0; ^ usr.sbin/lmcconfig/lmcconfig.c:940:3: note: previous statement is here if ((vga >= 0x3A) && (vga < 0x3F)) return 50.0 + 2.80 * (vga - 0x3A); ^ Direct commit to stable/11, since lmcconfig has been removed from FreeBSD 12 and later. Modified: stable/11/usr.sbin/lmcconfig/lmcconfig.c Modified: stable/11/usr.sbin/lmcconfig/lmcconfig.c ============================================================================== --- stable/11/usr.sbin/lmcconfig/lmcconfig.c Tue May 5 20:56:41 2020 (r360674) +++ stable/11/usr.sbin/lmcconfig/lmcconfig.c Tue May 5 21:01:43 2020 (r360675) @@ -938,7 +938,7 @@ vga_dbs(u_int8_t vga) if ((vga >= 0x1C) && (vga <= 0x33)) return 10.0 + 1.25 * (vga - 0x1C); if ((vga >= 0x34) && (vga <= 0x39)) return 40.0 + 1.67 * (vga - 0x34); if ((vga >= 0x3A) && (vga < 0x3F)) return 50.0 + 2.80 * (vga - 0x3A); - return 64.0; + return 64.0; } static void
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005052101.045L1iAU092811>