Date: Mon, 16 Apr 2012 23:29:12 +0000 (UTC) From: Jung-uk Kim <jkim@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r234362 - head/sys/dev/fb Message-ID: <201204162329.q3GNTC2L056054@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jkim Date: Mon Apr 16 23:29:12 2012 New Revision: 234362 URL: http://svn.freebsd.org/changeset/base/234362 Log: Fix a Clang warning. Submitted by: arundel Modified: head/sys/dev/fb/s3_pci.c Modified: head/sys/dev/fb/s3_pci.c ============================================================================== --- head/sys/dev/fb/s3_pci.c Mon Apr 16 23:19:21 2012 (r234361) +++ head/sys/dev/fb/s3_pci.c Mon Apr 16 23:29:12 2012 (r234362) @@ -513,7 +513,7 @@ s3pci_attach(device_t dev) /* Attach the driver to the VGA/VESA framework */ for (i = 0; (adp = vid_get_adapter(i)) != NULL; ++i) { - if ((adp->va_type == KD_VGA)) + if (adp->va_type == KD_VGA) break; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204162329.q3GNTC2L056054>