diff options
author | phk <phk@FreeBSD.org> | 1997-11-07 09:21:01 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1997-11-07 09:21:01 +0000 |
commit | ccc7e7fa9fe3a03b7d36abe1e051eb84caa89480 (patch) | |
tree | 1bd13ce5c0eb05db5c842c70e635cd52797224f3 /sys/libkern/qdivrem.c | |
parent | 4d268889365c1d9414bbca2f6c63d87db74ec37b (diff) | |
download | FreeBSD-src-ccc7e7fa9fe3a03b7d36abe1e051eb84caa89480.zip FreeBSD-src-ccc7e7fa9fe3a03b7d36abe1e051eb84caa89480.tar.gz |
Rename some local variables to avoid shadowing other local variables.
Found by: -Wshadow
Diffstat (limited to 'sys/libkern/qdivrem.c')
-rw-r--r-- | sys/libkern/qdivrem.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/libkern/qdivrem.c b/sys/libkern/qdivrem.c index cdfb7c4..82a3635 100644 --- a/sys/libkern/qdivrem.c +++ b/sys/libkern/qdivrem.c @@ -34,7 +34,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id$ + * $Id: qdivrem.c,v 1.6 1997/02/22 09:39:57 peter Exp $ */ /* @@ -213,9 +213,9 @@ __qdivrem(uq, vq, arq) rhat = uj1; goto qhat_too_big; } else { - u_long n = COMBINE(uj0, uj1); - qhat = n / v1; - rhat = n % v1; + u_long nn = COMBINE(uj0, uj1); + qhat = nn / v1; + rhat = nn % v1; } while (v2 * qhat > COMBINE(rhat, uj2)) { qhat_too_big: |