http://tinderbox.mozilla.org/seamonkey/warnings.html#jband I do not know if your warnings would ever be a problem, but here is a simple patch to safely quiet the warnings, Index: xpctest_array.cpp =================================================================== RCS file: /cvsroot/mozilla/js/src/xpconnect/tests/components/xpctest_array.cpp,v retrieving revision 1.4 diff -u -r1.4 xpctest_array.cpp --- xpctest_array.cpp 1999/10/06 21:35:27 1.4 +++ xpctest_array.cpp 1999/10/07 21:34:17 @@ -275,7 +275,8 @@ if(!out) return NS_ERROR_OUT_OF_MEMORY; - for(PRUint32 k = 0; k < *count; k++) + PRUint32 k = 0; + for(; k < *count; k++) out[k*2] = out[(k*2)+1] = (*str)[k]; out[k*2] = '\0'; nsAllocator::Free(*str);
Already have that in my tree. Thanks.
Cool. You can count me as a reviewer. =) Now you even have a bug for the checkin.
Status: NEW → RESOLVED
Last Resolved: 19 years ago
Resolution: --- → FIXED
checked in. Thanks.
Thank you. Wow, I just noticed that you can vote for bugs now. That is an interesting concept.
You need to log in before you can comment on or make changes to this bug.