svn commit: r360675 - stable/11/usr.sbin/lmcconfig
Dimitry Andric
dim at FreeBSD.org
Tue May 5 21:01:44 UTC 2020
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
More information about the svn-src-stable-11
mailing list