git: rtsol(8): Fix loop bug (aggressive-loop-optimizations)
John Marino
marino at crater.dragonflybsd.org
Tue Feb 10 13:19:28 PST 2015
commit 1f8a8a66e45285a62691983936d453c541fbb15b
Author: John Marino <draco at marino.st>
Date: Tue Feb 10 22:15:00 2015 +0100
rtsol(8): Fix loop bug (aggressive-loop-optimizations)
The index was being checked for validity after the array was accessed,
putting the check first makes gcc 5.0 happy.
Summary of changes:
usr.sbin/rtsold/probe.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1f8a8a66e45285a62691983936d453c541fbb15b
--
DragonFly BSD source repository
More information about the Commits
mailing list