]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Cleaner fix for handling declaration of loop variable under INVARIANTS
authorKip Macy <kmacy@FreeBSD.org>
Sun, 17 Dec 2006 00:14:20 +0000 (00:14 +0000)
committerKip Macy <kmacy@FreeBSD.org>
Sun, 17 Dec 2006 00:14:20 +0000 (00:14 +0000)
commit10ebecb796b6c54bea5f11f67def787a2ccabc3e
treeaef96c665abd91864eccc18be5c9456a9e77c6f8
parent6d87718991506526f865c6dd8287bf46a5b90809
Cleaner fix for handling declaration of loop variable under INVARIANTS
- in trying to avoid nested brackets and #ifdef INVARIANTS around i at the
  top, I broke booting for INVARIANTS all together :-(
- the cleanest fix is to simply assign to sq twice if INVARIANTS is enabled
- tested both with and without INVARIANTS :-/
sys/kern/subr_sleepqueue.c