Closed Bug 229299 Opened 21 years ago Closed 21 years ago

lib/freebl/prng_fips1861.c: unused variable `A'

Categories

(NSS :: Libraries, defect, P4)

PowerPC
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wtc, Assigned: nelson)

Details

Attachments

(1 file)

When compiling lib/freebl/prng_fips1861.c on Mac OS X, gcc issues the following warning: cc -o Darwin6.8_DBG.OBJ/prng_fips1861.o -c -g -Dppc -Wmost -fpascal-strings -no-cpp-precomp -fno-common -pipe -DDARWIN -DHAVE_STRERROR -DHAVE_BSD_FLOCK -DXP_UNIX -DSHLIB_SUFFIX=\"dylib\" -DSHLIB_PREFIX=\"lib\" -DRIJNDAEL_INCLUDE_TABLES -DDEBUG -UNDEBUG -DDEBUG_wtchang -DMP_API_COMPATIBLE -I../../../../dist/Darwin6.8_DBG.OBJ/include -I../../../../dist/public/nss -I../../../../dist/private/nss -Impi -Iecl prng_fips1861.c prng_fips1861.c: In function `RNG_UpdateAndEnd_FIPS186_1': prng_fips1861.c:441: warning: unused variable `A'
Attached patch Proposed patchSplinter Review
I believe this is the exact condition under which the local variable 'A' is used. Please verify.
Priority: -- → P4
Will fix for 3.9.1
Status: NEW → ASSIGNED
Target Milestone: --- → 3.9.1
Comment on attachment 137901 [details] [diff] [review] Proposed patch r=MisterSSL. I confirm. Wan-Teh, do you want this bug reasigned to you to check it in??
Attachment #137901 - Flags: review+
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: