svn commit: r290883 - head/lib/libc/sparc64/fpu

Baptiste Daroussin bapt at FreeBSD.org
Sun Nov 15 20:44:24 UTC 2015


Author: bapt
Date: Sun Nov 15 20:44:22 2015
New Revision: 290883
URL: https://svnweb.freebsd.org/changeset/base/290883

Log:
  Fix unused-but-set-variable
  
  Spotted by:	gcc 5.2

Modified:
  head/lib/libc/sparc64/fpu/fpu.c

Modified: head/lib/libc/sparc64/fpu/fpu.c
==============================================================================
--- head/lib/libc/sparc64/fpu/fpu.c	Sun Nov 15 20:44:01 2015	(r290882)
+++ head/lib/libc/sparc64/fpu/fpu.c	Sun Nov 15 20:44:22 2015	(r290883)
@@ -270,7 +270,7 @@ __fpu_execute(struct utrapframe *uf, str
     u_long tstate)
 {
 	struct fpn *fp;
-	int opf, rs1, rs2, rd, type, mask, cx, cond;
+	int opf, rs1, rs2, rd, type, mask, cx, cond __unused;
 	u_long reg, fsr;
 	u_int space[4];
 


More information about the svn-src-head mailing list