Closed
Bug 90906
Opened 24 years ago
Closed 10 years ago
Fix all "Unused variable '[...]'" 'Build Warnings' (Part 1/2: "with no function call")
Categories
(SeaMonkey :: Build Config, defect)
SeaMonkey
Build Config
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: pete, Assigned: sgautherie)
References
(Blocks 1 open bug)
Details
(Whiteboard: [build_warning][Leave open until there is no more such warnings in tinderbox: wait for bug 228780 to better see])
Attachments
(13 files, 19 obsolete files)
I am going to go and fix all of the "unused variable" compiler warnings i see
when building mozilla. We all want to have prestine compiler output when
building mozilla, so this is a step to help get there.
Feel free to change component, i set xpcom for lack of a better place to put
this bug.
Assigning to myself.
Thanks
--pete
Reporter | ||
Updated•24 years ago
|
Summary: Go through all modules and remove "unused variable" → Go through all modules and remove "unused variable"
Reporter | ||
Comment 1•24 years ago
|
||
Assigning to myself . . .
Reporter | ||
Comment 2•24 years ago
|
||
Reporter | ||
Comment 3•24 years ago
|
||
Comment 4•24 years ago
|
||
I'm concerned about the content patch in "nsHTMLInputElement.cpp" Are you sure
the fix there isn't to just check the return value?
Reporter | ||
Comment 5•24 years ago
|
||
Yea, thanks for catching that Cathy. I beleive whoever authored that method,
probably menant to return if it fails.
Updating patch.
--pete
Reporter | ||
Comment 6•24 years ago
|
||
Comment 7•24 years ago
|
||
the patch for xpcom is incomplete. On Mac, I see these unused variables as well:
http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/xpcom/typelib/xpidl/
xpidl_java.c&mark=565#555
http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/xpcom/typelib/xpidl/
xpidl_idl.c&mark=314#304
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 8•24 years ago
|
||
also in xpcom, I see these in the logs on tinderbox:
http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/xpcom/tests/
nsIFileEnumerator.cpp&mark=19#9
http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/xpcom/io/
nsAppFileLocationProvider.cpp&mark=326#316
and these in content:
http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/content/xbl/src/
nsXBLBinding.cpp&mark=92#82
http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/content/base/src/
nsStyleContext.cpp&mark=120#110
Reporter | ||
Updated•24 years ago
|
Status: NEW → ASSIGNED
Reporter | ||
Comment 9•24 years ago
|
||
Reporter | ||
Comment 10•24 years ago
|
||
Reporter | ||
Comment 11•24 years ago
|
||
Reporter | ||
Comment 12•24 years ago
|
||
Reporter | ||
Comment 13•24 years ago
|
||
Reporter | ||
Comment 14•24 years ago
|
||
Reporter | ||
Updated•24 years ago
|
Hardware: Other → All
Reporter | ||
Updated•24 years ago
|
Target Milestone: --- → mozilla0.9.4
Reporter | ||
Updated•24 years ago
|
Priority: -- → P3
Reporter | ||
Updated•24 years ago
|
Target Milestone: mozilla0.9.4 → mozilla0.9.5
Reporter | ||
Updated•23 years ago
|
Target Milestone: mozilla0.9.9 → Future
Assignee | ||
Comment 17•22 years ago
|
||
Updating:
*(C) XPCOM -> Browser-General
*(OS) other -> All
Component: XPCOM → Browser-General
OS: other → All
Assignee | ||
Updated•22 years ago
|
Attachment #42357 -
Attachment description: patch for content → (Bv1) </content/*>
Attachment #42357 -
Attachment is obsolete: true
Assignee | ||
Updated•22 years ago
|
Attachment #42510 -
Attachment description: updated patch for content module → (Bv1b) </content/*>
Assignee | ||
Updated•22 years ago
|
Attachment #42355 -
Attachment description: patch for xpcom → (Av1) </xpcom/*>
Attachment #42355 -
Attachment is obsolete: true
Assignee | ||
Updated•22 years ago
|
Attachment #42673 -
Attachment description: patch xpcom updated → (Av1b) </xpcom/*>
Assignee | ||
Comment 18•22 years ago
|
||
Let's process this 2003-12-14 (H) patch;
then I'll check the 2001-07-1x (A-G) patchs,
to see if there are fixes to retrieve from them,
before marking them as 'obsolete'...
*****
Hv1 patch also does 2 little code rewrites;
and removes 3 |#ifdef notdef| blocks.
Advise needed:
*<nsCommandHandler.cpp>: remove |#include "nsWebBrowser.h"| too ??
Assignee | ||
Comment 19•22 years ago
|
||
Comment on attachment 137382 [details] [diff] [review]
(Hv1) "Unused variable `[...]'"
'r=?': (see comment 18)
Can you (super-)review, compile, test, check it in ?
Attachment #137382 -
Flags: superreview?(brendan)
Attachment #137382 -
Flags: review?(neil.parkwaycc.co.uk)
Assignee | ||
Comment 20•22 years ago
|
||
I'm posting patches based on
<http://tinderbox.mozilla.org/showbuilds.cgi?tree=SeaMonkey>
'Linux brad Clbr', "Warn:____" link.
Summary: Go through all modules and remove "unused variable" → Fix all "Unused variable" 'Build Warnings.
Assignee | ||
Comment 21•22 years ago
|
||
Well, it seems that quite a number of more recent patchs were already around:
Nevertheless, I stand by what I wrote in comment 18: "Hv1 patch first ...".
Assignee | ||
Updated•22 years ago
|
Blocks: buildwarning
Comment 22•22 years ago
|
||
Serge, please ask for individual module owners and peers to review their own
patches. I'm not your compile, test, and check-in slave, either. Ideally,
owners will check in good patches you submit. If you can't get an owner to
respond, let me know.
/be
Assignee | ||
Comment 23•22 years ago
|
||
Comment on attachment 137382 [details] [diff] [review]
(Hv1) "Unused variable `[...]'"
Re comment 22:
I'll split this global patch back to individual "modules".
As for compile/++, I'm not looking for any slave:
I only happen to have no compilation environment;
so I'm simply asking for help there:
I hope the rewievers (or anyone) will be able to do it "for me"...
Attachment #137382 -
Attachment is obsolete: true
Attachment #137382 -
Flags: superreview?(brendan)
Attachment #137382 -
Flags: review?(neil.parkwaycc.co.uk)
Assignee | ||
Comment 24•22 years ago
|
||
Attachment #42673 -
Attachment is obsolete: true
Assignee | ||
Comment 25•22 years ago
|
||
Comment on attachment 137533 [details] [diff] [review]
(Av1c) </xpcom/*>
[Checked in: Comment 83]
'r=?': (see comment 23)
Attachment #137533 -
Flags: review?(dougt)
Assignee | ||
Comment 26•22 years ago
|
||
Comment on attachment 42510 [details] [diff] [review]
(Bv1b) </content/*>
Obsoleting: nothing left to fix :->
Attachment #42510 -
Attachment is obsolete: true
Assignee | ||
Updated•22 years ago
|
Attachment #42608 -
Attachment description: patch for layout → (Bv1) </layout/*>
Attachment #42608 -
Attachment is obsolete: true
Assignee | ||
Updated•22 years ago
|
Attachment #42608 -
Attachment description: (Bv1) </layout/*> → (Cv1) </layout/*>
Assignee | ||
Comment 27•22 years ago
|
||
Assignee | ||
Comment 28•22 years ago
|
||
Comment on attachment 137539 [details] [diff] [review]
(Cv1b) </layout/*>
[Checked in: Comment 73]
'r=?': (see comment 23)
Attachment #137539 -
Flags: review?(dbaron)
Assignee | ||
Comment 29•22 years ago
|
||
Comment on attachment 42611 [details] [diff] [review]
(Dv1) </editor/*>
Obsoleting: nothing left to fix :->
Attachment #42611 -
Attachment description: patch for editor module → (Dv1) </editor/*>
Attachment #42611 -
Attachment is obsolete: true
Assignee | ||
Comment 30•22 years ago
|
||
Comment on attachment 42647 [details] [diff] [review]
(Ev1) </xpfe/*>
Obsoleting: nothing left to fix :->
Attachment #42647 -
Attachment description: patch for xpfe → (Ev1) </xpfe/*>
Attachment #42647 -
Attachment is obsolete: true
Assignee | ||
Comment 31•22 years ago
|
||
Comment on attachment 42649 [details] [diff] [review]
(Fv1) </rdf/*>
Obsoleting: nothing left to fix :->
Attachment #42649 -
Attachment description: patch for rdf → (Fv1) </rdf/*>
Attachment #42649 -
Attachment is obsolete: true
Assignee | ||
Updated•22 years ago
|
Attachment #42657 -
Attachment description: patch for mailnews → (Gv1) </mailnews/*>
Attachment #42657 -
Attachment is obsolete: true
Assignee | ||
Comment 32•22 years ago
|
||
Assignee | ||
Comment 33•22 years ago
|
||
Comment on attachment 137544 [details] [diff] [review]
(Gv1b) </mailnews/*>
[Checked in: Comment 80]
'r=?': (see comment 23)
Attachment #137544 -
Flags: review?(sspitzer)
Attachment #137539 -
Flags: superreview+
Attachment #137539 -
Flags: review?(dbaron)
Attachment #137539 -
Flags: review+
Assignee | ||
Comment 34•22 years ago
|
||
Assignee | ||
Comment 35•22 years ago
|
||
Comment on attachment 137545 [details] [diff] [review]
(Iv1) </xpinstall/*>
'r=?': (see comment 23)
Note:
"review requestee: dveditz#cruzio.com did not match anything";
<http://www.mozilla.org/owners.html> needs update to 'dveditz+bmo#cruzio.com' !
Attachment #137545 -
Flags: review?(dveditz+bmo)
Assignee | ||
Comment 36•22 years ago
|
||
Comment on attachment 137539 [details] [diff] [review]
(Cv1b) </layout/*>
[Checked in: Comment 73]
'approval1.6=?': Trivial unused code removal.
(if not too late)
Attachment #137539 -
Flags: approval1.6?
Assignee | ||
Comment 37•22 years ago
|
||
Assignee | ||
Comment 38•22 years ago
|
||
Comment on attachment 137547 [details] [diff] [review]
(Jv1) </security/*>
Removes 2 |#ifdef notdef| blocks too.
'r=?': (see comment 23)
Attachment #137547 -
Flags: review?(kaie)
Assignee | ||
Comment 39•22 years ago
|
||
Assignee | ||
Comment 40•22 years ago
|
||
Attachment #137548 -
Flags: review?(darin)
Assignee | ||
Comment 41•22 years ago
|
||
Assignee | ||
Comment 42•22 years ago
|
||
Comment on attachment 137549 [details] [diff] [review]
(Lv1) </widget/src/mac/*> (cleanup only)
[Checked in: Comment 78]
(not this bug, but related to "(Jv1) </security/*>" cleanup)
Removes 1 |#ifdef notdef| blocks.
'r=?': (see comment 23)
Attachment #137549 -
Flags: review?(bryner)
Assignee | ||
Comment 43•22 years ago
|
||
Assignee | ||
Comment 44•22 years ago
|
||
Comment on attachment 137550 [details] [diff] [review]
(Mv1) </embedding/*>
[Checked in: Comment 74]
Advise needed:
Is |#include "nsWebBrowser.h"| removable now ??
'r=?': (see comment 23)
Attachment #137550 -
Flags: review?(locka)
Assignee | ||
Comment 45•22 years ago
|
||
Assignee | ||
Comment 46•22 years ago
|
||
Comment on attachment 137551 [details] [diff] [review]
(Nv1) </modules/libutil/*>
[Checked in: Comment 72]
(Chose you, as you r/sr the last patch to this file.)
'r=?': (see comment 23)
Note:
"review requestee: roc+#cs.cmu.edu did not match anything";
<http://www.mozilla.org/owners.html> needs update to 'roc#ocallahan.org' !
Attachment #137551 -
Flags: review?(roc)
Assignee | ||
Comment 47•22 years ago
|
||
Reassigning from 'petejc#optonline.net' to me :->
(since last post was 2001-12-15: thanks anyway !)
Updating:
*(P) P3 -> --
*(S) normal -> trivial
*(TM) Future -> mozilla1.7alpha
Assignee: petejc → gautheri
Severity: normal → trivial
Status: ASSIGNED → NEW
Priority: P3 → --
Summary: Fix all "Unused variable '[...]'" 'Build Warnings'. → Fix all "Unused variable '[...]'" 'Build Warnings' (Part 1: "with no function call")
Target Milestone: Future → mozilla1.7alpha
Assignee | ||
Updated•22 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 48•22 years ago
|
||
Patch Iv1, plus 2 unneeded initialization removals.
Assignee | ||
Comment 49•22 years ago
|
||
Comment on attachment 137553 [details] [diff] [review]
(Iv1b) </xpinstall/*>
'r=?': (see comment 23)
Attachment #137553 -
Flags: review?(dveditz+bmo)
Assignee | ||
Updated•22 years ago
|
Attachment #137545 -
Attachment is obsolete: true
Attachment #137545 -
Flags: review?(dveditz+bmo)
Updated•22 years ago
|
Attachment #137553 -
Flags: superreview?(dveditz+bmo)
Attachment #137553 -
Flags: review?(dveditz+bmo)
Attachment #137553 -
Flags: review+
Assignee | ||
Comment 50•22 years ago
|
||
*** Bug 223729 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 51•22 years ago
|
||
*** Bug 221132 has been marked as a duplicate of this bug. ***
Comment 52•22 years ago
|
||
please do things the way i did them.
Assignee | ||
Comment 53•22 years ago
|
||
{ (result of a private email)
550 5.1.1 <timeless#bemail.org>... User unknown
Reporting-MTA: dns; mailrecv3.bigmailbox.com
Received-From-MTA: DNS; nan-smtp-13.noos.net
Arrival-Date: Wed, 17 Dec 2003 05:49:00 -0800
Final-Recipient: RFC822; timeless#bemail.org
X-Actual-Recipient: RFC822; timeless#mailrecv3.bigmailbox.com
Action: failed
Status: 5.1.1
Diagnostic-Code: X-Unix; 67
Last-Attempt-Date: Wed, 17 Dec 2003 05:49:07 -0800
}
> please do things the way i did them.
I will:
let me first ask you why you did it your way (for my learning process).
<http://bugzilla.mozilla.org/show_bug.cgi?id=221132>
What is the use of the (3-4) |#ifdef notdef| blocks ?
<http://bugzilla.mozilla.org/show_bug.cgi?id=223729>
Does not the localization inside the |do{...}| makes repetitive (de)allocations ?
Thanks.
Assignee | ||
Updated•22 years ago
|
Summary: Fix all "Unused variable '[...]'" 'Build Warnings' (Part 1: "with no function call") → Fix all "Unused variable '[...]'" 'Build Warnings' (Part 1/2: "with no function call")
Comment 54•22 years ago
|
||
if the compiler really sucks then it might do something silly with the loop,
but... local variables aren't allocated in memory the way that things are when
you do |malloc| or |new|. by telling the compiler that you're only using a
variable in some block, it is more likely to be able to reuse the address it
gives to the variable outside the block (a sucky compiler might not, but...).
for one, that code is not ours, nss has reasons for doing things, it isn't for
us to remove stuff from their code. it's true that you can rely on cvs to find
the code, but it's a royal pain. let me tell you, as i had to use it to answer
all the other questions you asked me yesterday.
you can contact me on irc or by using the realname field. (normally you can copy
that, but i'm traveling so you would have to remove that at the moment.)
Assignee | ||
Updated•22 years ago
|
Assignee | ||
Comment 55•22 years ago
|
||
Patch Iv1b, plus a few variable localizations.
Assignee | ||
Comment 56•22 years ago
|
||
Comment on attachment 137586 [details] [diff] [review]
(Iv1c) </xpinstall/*>
[Checked in: Comment 71]
'r=?': (see comment 23)
Attachment #137586 -
Attachment description: (Iv1c) </xpinstall/*>, with no function call → (Iv1c) </xpinstall/*>
Attachment #137586 -
Flags: superreview?(dveditz+bmo)
Attachment #137586 -
Flags: review?(bsmedberg)
Assignee | ||
Updated•22 years ago
|
Attachment #137553 -
Attachment description: (Iv1b) </xpinstall/*>, with no function call → (Iv1b) </xpinstall/*>
Attachment #137553 -
Attachment is obsolete: true
Attachment #137553 -
Flags: superreview?(dveditz+bmo)
Assignee | ||
Updated•22 years ago
|
Attachment #137545 -
Attachment description: (Iv1) </xpinstall/*>, with no function call → (Iv1) </xpinstall/*>
Assignee | ||
Updated•22 years ago
|
Attachment #137382 -
Attachment description: (Hv1) "Unused variable `[...]'", with no function call. → (Hv1) "Unused variable `[...]'"
Assignee | ||
Comment 57•22 years ago
|
||
Patch Jv1, plus restoration of 2 |#ifdef notdef| blocks. (To let NSS peoples
handle them.)
Assignee | ||
Updated•22 years ago
|
Attachment #137547 -
Attachment description: (Jv1) </security/*>, with no function call → (Jv1) </security/*>
Attachment #137547 -
Attachment is obsolete: true
Attachment #137547 -
Flags: review?(kaie)
Assignee | ||
Comment 58•22 years ago
|
||
Comment on attachment 137588 [details] [diff] [review]
(Jv1b) </security/*>
[+/- Checked in: see Comment 76]
'r=?': (see comment 23)
Attachment #137588 -
Flags: review?(kaie)
Assignee | ||
Comment 59•22 years ago
|
||
Comment on attachment 137548 [details] [diff] [review]
(Kv1) </netwerk/*>
This will be included in bug 203422 patch :->
Attachment #137548 -
Attachment description: (Kv1) </netwerk/*>, with no function call → (Kv1) </netwerk/*>
Attachment #137548 -
Attachment is obsolete: true
Attachment #137548 -
Flags: review?(darin)
Comment 60•22 years ago
|
||
Comment on attachment 137586 [details] [diff] [review]
(Iv1c) </xpinstall/*>
[Checked in: Comment 71]
Seems like a lot of gratuitous moving variables around to get rid of one
warning, but OK if it makes you happy. sr=dveditz
Attachment #137586 -
Flags: superreview?(dveditz+bmo) → superreview+
Assignee | ||
Comment 61•22 years ago
|
||
Comment on attachment 137586 [details] [diff] [review]
(Iv1c) </xpinstall/*>
[Checked in: Comment 71]
(For the record)
> gratuitous moving variables
1 was requested by timeless (from a duplicate bug): I simply applied it to 4
other occurences...
Attachment #137586 -
Flags: approval1.6?
Updated•22 years ago
|
Attachment #137586 -
Flags: review?(bsmedberg) → review+
Attachment #137551 -
Flags: superreview+
Attachment #137551 -
Flags: review?(roc)
Attachment #137551 -
Flags: review+
Assignee | ||
Comment 62•22 years ago
|
||
Comment on attachment 137551 [details] [diff] [review]
(Nv1) </modules/libutil/*>
[Checked in: Comment 72]
'approval1.6=?': Trivial code move
(if not too late)
Attachment #137551 -
Attachment description: (Nv1) </modules/libutil/*>, with no function call → (Nv1) </modules/libutil/*>
Attachment #137551 -
Flags: approval1.6?
Assignee | ||
Updated•22 years ago
|
Attachment #137539 -
Attachment description: (Cv1b) </layout/*>, with no function call → (Cv1b) </layout/*>
Comment 63•22 years ago
|
||
Comment on attachment 137539 [details] [diff] [review]
(Cv1b) </layout/*>
[Checked in: Comment 73]
Too late in the 1.6 timeframe for changes that aren't serious
regressions, security, or crash related.
Attachment #137539 -
Flags: approval1.6? → approval1.6-
Comment 64•22 years ago
|
||
Comment on attachment 137551 [details] [diff] [review]
(Nv1) </modules/libutil/*>
[Checked in: Comment 72]
Too late in the 1.6 timeframe for changes that aren't serious
regressions, security, or crash related.
Attachment #137551 -
Flags: approval1.6? → approval1.6-
Comment 65•22 years ago
|
||
Comment on attachment 137586 [details] [diff] [review]
(Iv1c) </xpinstall/*>
[Checked in: Comment 71]
Too late in the 1.6 timeframe for changes that aren't serious
regressions, security, or crash related.
Attachment #137586 -
Flags: approval1.6? → approval1.6-
Assignee | ||
Comment 66•22 years ago
|
||
Comment on attachment 137588 [details] [diff] [review]
(Jv1b) </security/*>
[+/- Checked in: see Comment 76]
'r=?': (see comment 23)
(moving from kaie to wchang)
Attachment #137588 -
Flags: review?(kaie) → review?(wchang0222)
Assignee | ||
Comment 67•22 years ago
|
||
Comment on attachment 137544 [details] [diff] [review]
(Gv1b) </mailnews/*>
[Checked in: Comment 80]
'r=?': (see comment 23)
(moving sspitzer from r? to sr?)
Attachment #137544 -
Flags: superreview?(sspitzer)
Attachment #137544 -
Flags: review?(sspitzer)
Attachment #137544 -
Flags: review?(neil.parkwaycc.co.uk)
Comment 68•22 years ago
|
||
Comment on attachment 137544 [details] [diff] [review]
(Gv1b) </mailnews/*>
[Checked in: Comment 80]
I still don't like those trailing blank line deletions :-P
Attachment #137544 -
Flags: review?(neil.parkwaycc.co.uk) → review+
Comment 69•22 years ago
|
||
Comment on attachment 137550 [details] [diff] [review]
(Mv1) </embedding/*>
[Checked in: Comment 74]
r=adamlock
Attachment #137550 -
Flags: review?(locka) → review+
Assignee | ||
Updated•22 years ago
|
Attachment #137550 -
Flags: superreview?(alecf)
Assignee | ||
Updated•22 years ago
|
Attachment #137550 -
Attachment description: (Mv1) </embedding/*>, with no function call → (Mv1) </embedding/*>
Assignee | ||
Updated•22 years ago
|
Attachment #137544 -
Attachment description: (Gv1b) </mailnews/*>, with no function call → (Gv1b) </mailnews/*>
Comment 70•22 years ago
|
||
Comment on attachment 137550 [details] [diff] [review]
(Mv1) </embedding/*>
[Checked in: Comment 74]
sr=alecf
Attachment #137550 -
Flags: superreview?(alecf) → superreview+
Assignee | ||
Comment 71•22 years ago
|
||
Comment on attachment 137586 [details] [diff] [review]
(Iv1c) </xpinstall/*>
[Checked in: Comment 71]
Check in: { 12/20/2003 10:11 neil%parkwaycc.co.uk 1.17 }
Attachment #137586 -
Attachment description: (Iv1c) </xpinstall/*> → (Iv1c) </xpinstall/*>
[Checked in: Comment 71]
Attachment #137586 -
Attachment is obsolete: true
Assignee | ||
Comment 72•22 years ago
|
||
Comment on attachment 137551 [details] [diff] [review]
(Nv1) </modules/libutil/*>
[Checked in: Comment 72]
Check in: { 12/20/2003 10:10 neil%parkwaycc.co.uk 1.20 }
Attachment #137551 -
Attachment description: (Nv1) </modules/libutil/*> → (Nv1) </modules/libutil/*>
[Checked in: Comment 72]
Attachment #137551 -
Attachment is obsolete: true
Assignee | ||
Comment 73•22 years ago
|
||
Comment on attachment 137539 [details] [diff] [review]
(Cv1b) </layout/*>
[Checked in: Comment 73]
Check in: { 12/20/2003 10:09 neil%parkwaycc.co.uk }
Attachment #137539 -
Attachment description: (Cv1b) </layout/*> → (Cv1b) </layout/*>
[Checked in: Comment 73]
Attachment #137539 -
Attachment is obsolete: true
Assignee | ||
Comment 74•22 years ago
|
||
Comment on attachment 137550 [details] [diff] [review]
(Mv1) </embedding/*>
[Checked in: Comment 74]
Check in: { 12/20/2003 12:09 neil%parkwaycc.co.uk 1.7 }
Attachment #137550 -
Attachment description: (Mv1) </embedding/*> → (Mv1) </embedding/*>
[Checked in: Comment 74]
Attachment #137550 -
Attachment is obsolete: true
Comment 75•22 years ago
|
||
Comment on attachment 137588 [details] [diff] [review]
(Jv1b) </security/*>
[+/- Checked in: see Comment 76]
All the unused variable warnings in this
patch, except the last one (pkcs11u.c),
have been fixed on the NSS trunk.
I opened bug 229289 for the last warning.
Attachment #137588 -
Attachment is obsolete: true
Attachment #137588 -
Flags: review?(wchang0222)
Assignee | ||
Comment 76•22 years ago
|
||
Comment on attachment 137588 [details] [diff] [review]
(Jv1b) </security/*>
[+/- Checked in: see Comment 76]
Addition to comment 75:
Check in : { wchang0222%aol.com Dec 23 13:__ }
Attachment #137588 -
Attachment description: (Jv1b) </security/*> → (Jv1b) </security/*>
[+/- Checked in: see Comment 76]
Comment 77•22 years ago
|
||
Comment on attachment 137549 [details] [diff] [review]
(Lv1) </widget/src/mac/*> (cleanup only)
[Checked in: Comment 78]
r=me. I've been meaning to remove all the non-TARGET_CARBON code at some point
too.
Attachment #137549 -
Flags: review?(bryner) → review+
Assignee | ||
Updated•22 years ago
|
Attachment #137549 -
Flags: superreview?(blizzard)
Updated•22 years ago
|
Attachment #137549 -
Flags: superreview?(blizzard) → superreview+
Assignee | ||
Comment 78•22 years ago
|
||
Comment on attachment 137549 [details] [diff] [review]
(Lv1) </widget/src/mac/*> (cleanup only)
[Checked in: Comment 78]
Check in: { 01/06/2004 15:24 neil%parkwaycc.co.uk 1.126 }
Attachment #137549 -
Attachment description: (Lv1) </widget/src/mac/*> (cleanup only) → (Lv1) </widget/src/mac/*> (cleanup only)
[Checked in: Comment 78]
Attachment #137549 -
Attachment is obsolete: true
Comment 79•22 years ago
|
||
Comment on attachment 137544 [details] [diff] [review]
(Gv1b) </mailnews/*>
[Checked in: Comment 80]
sr=sspitzer
Attachment #137544 -
Flags: superreview?(sspitzer) → superreview+
Assignee | ||
Comment 80•22 years ago
|
||
Comment on attachment 137544 [details] [diff] [review]
(Gv1b) </mailnews/*>
[Checked in: Comment 80]
Check in: { 01/09/2004 16:32 neil%parkwaycc.co.uk }
Attachment #137544 -
Attachment description: (Gv1b) </mailnews/*> → (Gv1b) </mailnews/*>
[Checked in: Comment 80]
Attachment #137544 -
Attachment is obsolete: true
Assignee | ||
Updated•21 years ago
|
Target Milestone: mozilla1.7alpha → ---
Assignee | ||
Comment 81•21 years ago
|
||
Comment on attachment 137533 [details] [diff] [review]
(Av1c) </xpcom/*>
[Checked in: Comment 83]
No review from <dougt@meer.net> since '2003-12-16' :-(
Attachment #137533 -
Flags: review?(dougt) → review?(BradleyJunk)
Comment 82•21 years ago
|
||
Comment on attachment 137533 [details] [diff] [review]
(Av1c) </xpcom/*>
[Checked in: Comment 83]
r=dbradley
Attachment #137533 -
Flags: review?(BradleyJunk) → review+
Assignee | ||
Updated•21 years ago
|
Attachment #137533 -
Flags: superreview?(Henry.Jia)
Attachment #137533 -
Flags: superreview?(Henry.Jia) → superreview+
Assignee | ||
Comment 83•21 years ago
|
||
Comment on attachment 137533 [details] [diff] [review]
(Av1c) </xpcom/*>
[Checked in: Comment 83]
Check in: { 2004-04-21 04:16 neil%parkwaycc.co.uk }
Attachment #137533 -
Attachment description: (Av1c) </xpcom/*>, with no function call → (Av1c) </xpcom/*>
[Checked in: Comment 83]
Attachment #137533 -
Attachment is obsolete: true
Assignee | ||
Comment 84•21 years ago
|
||
Assignee | ||
Comment 85•21 years ago
|
||
Comment on attachment 146705 [details] [diff] [review]
(Ov1) </mailnews/*> additional
[Checked in: Comment 97]
I have no compiler: Could you (super-)review/compile/test/check in this patch ?
Thanks.
Attachment #146705 -
Flags: superreview?(neil.parkwaycc.co.uk)
Attachment #146705 -
Flags: review?(neil.parkwaycc.co.uk)
Assignee | ||
Comment 86•21 years ago
|
||
Assignee | ||
Comment 87•21 years ago
|
||
Comment on attachment 146706 [details] [diff] [review]
(Pv1) </profile/*>
[Checked in: Comment 100]
I have no compiler: Could you (super-)review/compile/test/check in this patch ?
Thanks.
Attachment #146706 -
Flags: superreview?(ccarlen)
Attachment #146706 -
Flags: review?(ccarlen)
Assignee | ||
Comment 88•21 years ago
|
||
Assignee | ||
Comment 89•21 years ago
|
||
Comment on attachment 146707 [details] [diff] [review]
(Qv1) </ipc/*>
[Checked in: Comment 96]
I have no compiler: Could you (super-)review/compile/test/check in this patch ?
Thanks.
Attachment #146707 -
Flags: superreview?(leaf)
Attachment #146707 -
Flags: review?(leaf)
Assignee | ||
Comment 90•21 years ago
|
||
Assignee | ||
Comment 91•21 years ago
|
||
Comment on attachment 146708 [details] [diff] [review]
(Rv1) </security/*> additional
[Checked in: Comment 92]
I have no compiler: Could you review/compile/test/check in this patch ? Thanks.
Attachment #146708 -
Flags: review?(wchang0222)
Comment 92•21 years ago
|
||
Comment on attachment 146708 [details] [diff] [review]
(Rv1) </security/*> additional
[Checked in: Comment 92]
r=wtc. I've checked in this patch on the NSS tip (NSS 3.10).
Attachment #146708 -
Flags: review?(wchang0222) → review+
Assignee | ||
Updated•21 years ago
|
Attachment #146708 -
Attachment description: (Rv1) </security/*> additional → (Rv1) </security/*> additional
[Checked in: Comment 92]
Attachment #146708 -
Attachment is obsolete: true
Comment 93•21 years ago
|
||
Comment on attachment 146707 [details] [diff] [review]
(Qv1) </ipc/*>
[Checked in: Comment 96]
it does, indeed, remove an unused variable warning and compilation succeeds
normally. i'm not sure how to functionally test ipc, though.
Attachment #146707 -
Flags: review?(leaf) → review+
Comment 94•21 years ago
|
||
Comment on attachment 146707 [details] [diff] [review]
(Qv1) </ipc/*>
[Checked in: Comment 96]
punting super-revew to scc; this looks fine to me, scott, since, well, the
variable is unused and the function is void, to boot.
Attachment #146707 -
Flags: superreview?(leaf) → superreview?(scc)
Comment 95•21 years ago
|
||
Comment on attachment 146707 [details] [diff] [review]
(Qv1) </ipc/*>
[Checked in: Comment 96]
works for me; sr=scc
Attachment #146707 -
Flags: superreview?(scc) → superreview+
Assignee | ||
Updated•21 years ago
|
Attachment #146706 -
Attachment description: (Ov1) </profile/*> → (Pv1) </profile/*>
Comment 96•21 years ago
|
||
Comment on attachment 146707 [details] [diff] [review]
(Qv1) </ipc/*>
[Checked in: Comment 96]
marking as obsolete, as this patch has been committed.
Attachment #146707 -
Attachment is obsolete: true
Assignee | ||
Updated•21 years ago
|
Attachment #146707 -
Attachment description: (Qv1) </ipc/*> → (Qv1) </ipc/*>
[Checked in: Comment 96]
Updated•21 years ago
|
Attachment #146705 -
Flags: superreview?(neil.parkwaycc.co.uk)
Attachment #146705 -
Flags: review?(neil.parkwaycc.co.uk)
Attachment #146705 -
Flags: review+
Updated•21 years ago
|
Attachment #146705 -
Flags: superreview?(bienvenu)
Updated•21 years ago
|
Attachment #146705 -
Flags: superreview?(bienvenu) → superreview+
Assignee | ||
Comment 97•21 years ago
|
||
Comment on attachment 146705 [details] [diff] [review]
(Ov1) </mailnews/*> additional
[Checked in: Comment 97]
Check in: { 2004-04-26 16:28 neil%parkwaycc.co.uk }
Attachment #146705 -
Attachment description: (Ov1) </mailnews/*> additional → (Ov1) </mailnews/*> additional
[Checked in: Comment 97]
Attachment #146705 -
Attachment is obsolete: true
Assignee | ||
Comment 98•21 years ago
|
||
Comment on attachment 146706 [details] [diff] [review]
(Pv1) </profile/*>
[Checked in: Comment 100]
No (super-)review from <ccarlen@mac.com> since '2004-04-21' :-(
***
I have no compiler: Could you (super-)review/compile/test/check in this patch ?
Thanks.
Attachment #146706 -
Flags: superreview?(rbs)
Attachment #146706 -
Flags: superreview?(ccarlen)
Attachment #146706 -
Flags: review?(neil.parkwaycc.co.uk)
Attachment #146706 -
Flags: review?(ccarlen)
Updated•21 years ago
|
Attachment #146706 -
Flags: review?(neil.parkwaycc.co.uk) → review+
Comment 99•21 years ago
|
||
Comment on attachment 146706 [details] [diff] [review]
(Pv1) </profile/*>
[Checked in: Comment 100]
s=rbs, I had missed this from my review queue.
Attachment #146706 -
Flags: superreview?(rbs) → superreview+
Assignee | ||
Comment 100•21 years ago
|
||
Comment on attachment 146706 [details] [diff] [review]
(Pv1) </profile/*>
[Checked in: Comment 100]
Check in: { 2004-06-22 01:34 neil%parkwaycc.co.uk mozilla/ profile/
pref-migrator/ src/ nsPrefMigration.cpp 1.195 }
Attachment #146706 -
Attachment description: (Pv1) </profile/*> → (Pv1) </profile/*>
[Checked in: Comment 100]
Attachment #146706 -
Attachment is obsolete: true
Assignee | ||
Updated•21 years ago
|
Whiteboard: [Leave open until there is no more such warnings in tinderbox: wait for bug 228780 to better see]
Assignee | ||
Comment 101•21 years ago
|
||
Fix for
{{
Linux brad Clobber (info) on 10/28 06:37
bienvenu
127. mailnews/db/msgdb/src/nsMsgThread.cpp:410 (See build log excerpt)
Unused variable `nsIMsgDBHdr*curMsgHdr'
408 {
409 nsMsgKey oldThreadParent, curHdrKey;
410 nsIMsgDBHdr *curMsgHdr = curHdr;
411 nsMsgHdr* oldTopLevelMsgHdr = NS_STATIC_CAST(nsMsgHdr*, oldTopLevelHdr);
// closed system, cast ok
412 curHdr->GetThreadParent(&oldThreadParent);
}}
Assignee | ||
Updated•21 years ago
|
Attachment #163723 -
Attachment description: (Sv1) <nsMsgThread.cpp> → (Sv1) </mailnews/*> 3rd
Attachment #163723 -
Attachment is obsolete: true
Assignee | ||
Comment 102•21 years ago
|
||
Sv1, plus fix for the other "same" warnings in </mailnews/*>.
Assignee | ||
Comment 103•21 years ago
|
||
Comment on attachment 163726 [details] [diff] [review]
(Sv1a) </mailnews/*> 3rd
I have no compiler: Could you (super-)review/compile/test/check in this patch ?
Thanks.
Attachment #163726 -
Flags: superreview?(bienvenu)
Attachment #163726 -
Flags: review?(bienvenu)
Updated•21 years ago
|
Product: Browser → Seamonkey
Assignee | ||
Comment 104•21 years ago
|
||
Comment on attachment 163726 [details] [diff] [review]
(Sv1a) </mailnews/*> 3rd
No super-review from <bienvenu@nventure.com> since "2004-10-28" :-(
I have no compiler: Could you (super-)review/compile/test/check in this patch ?
Thanks.
Attachment #163726 -
Flags: superreview?(dmose)
Attachment #163726 -
Flags: superreview?(bienvenu)
Attachment #163726 -
Flags: review?(neil.parkwaycc.co.uk)
Attachment #163726 -
Flags: review?(bienvenu)
Comment 105•21 years ago
|
||
Comment on attachment 163726 [details] [diff] [review]
(Sv1a) </mailnews/*> 3rd
Two of the hunks in this patch are no longer necessary and no longer apply
because the code in question was deleted. However, new code with new warnings
seems to have been added since ;-)
Attachment #163726 -
Flags: review?(neil.parkwaycc.co.uk) → review+
Assignee | ||
Updated•21 years ago
|
Attachment #163726 -
Attachment is obsolete: true
Attachment #163726 -
Flags: superreview?(dmose)
Assignee | ||
Comment 106•21 years ago
|
||
Sv1a, with comment 105 suggestion(s),
and "blank line" modifications.
Attachment #173324 -
Flags: review?(neil.parkwaycc.co.uk)
Comment 107•21 years ago
|
||
Comment on attachment 173324 [details] [diff] [review]
(Sv2_bB) </mailnews/*> 3rd
>Index: mozilla/mailnews/base/src/nsMsgGroupThread.cpp
>@@ -235,9 +229,8 @@ nsresult nsMsgGroupThread::ReparentNonRe
I don't think that the remaining changes in this file are useful, unless you
can point me to build warnings that they will fix.
>Index: mozilla/mailnews/db/msgdb/src/nsMsgThread.cpp
>@@ -407,7 +404,6 @@ nsresult nsMsgThread::ReparentNonReferen
>- nsIMsgDBHdr *curMsgHdr = curHdr;
Nor the changes in this file, apart from this one looks ok.
The other changes look ok, but please double-check for other warnings in the
same files that you can fix at the same time.
Attachment #173324 -
Flags: review?(neil.parkwaycc.co.uk) → review-
Assignee | ||
Comment 108•21 years ago
|
||
Sv2_bB, with comment 107 suggestion(s).
(Unrelated) I'm wondering about:
Index: mozilla/mailnews/import/comm4x/src/nsComm4xProfile.cpp
nsComm4xProfile::GetMailDir(const PRUnichar *aProfile, PRUnichar **_retval)
#if defined(XP_WIN) || defined(XP_OS2) || defined(XP_MACOSX)
#if defined(XP_MAC) || defined(XP_MACOSX)
// |XP_MAC| could be removed here, or should be added in the previous #ifdef !?
#if defined(XP_WIN) || defined(XP_OS2) || defined(XP_MAC) || defined(XP_MACOSX)
// Same; moreover, it duplicates the first #ifdef and could/should be removed
!?
Attachment #173324 -
Attachment is obsolete: true
Attachment #173500 -
Flags: review?(neil.parkwaycc.co.uk)
Comment 109•21 years ago
|
||
Comment on attachment 173500 [details] [diff] [review]
(Sv3) </mailnews/*> 3rd
>- PRInt32 oldRecent = GetServerStateParser().NumberOfRecentMessages();
>+ // PRInt32 oldRecent =
>+ GetServerStateParser().NumberOfRecentMessages();
This can be commented out completely, see the comment further on in the file.
(Maybe both this and that comment should be removed compeltely, but I wouldn't
know about that) r=me with this nit fixed.
I think there's another bug filed on XP_MAC cleanup.
Attachment #173500 -
Flags: review?(neil.parkwaycc.co.uk) → review+
Assignee | ||
Comment 110•21 years ago
|
||
Sv3, with comment 109 suggestion(s).
Keeping
{{
(Sv3) </mailnews/*> 3rd patch 2005-02-05 19:05 PST 5.68 KB
neil.parkwaycc.co.uk: review+
}}
Attachment #173500 -
Attachment is obsolete: true
Attachment #173534 -
Flags: superreview?(dmose)
Attachment #173534 -
Flags: review+
Assignee | ||
Comment 111•21 years ago
|
||
(In reply to comment #109)
> I think there's another bug filed on XP_MAC cleanup.
Right: bug 196105.
Comment 112•20 years ago
|
||
Comment on attachment 173534 [details] [diff] [review]
(Sv3a) </mailnews/*> 3rd
[Checked in: Comment 114]
sr=dmose
Attachment #173534 -
Flags: superreview?(dmose) → superreview+
Assignee | ||
Updated•20 years ago
|
Attachment #173534 -
Flags: approval1.8b?
Comment 113•20 years ago
|
||
Comment on attachment 173534 [details] [diff] [review]
(Sv3a) </mailnews/*> 3rd
[Checked in: Comment 114]
a=asa for 1.8b.
Attachment #173534 -
Flags: approval1.8b? → approval1.8b+
Assignee | ||
Comment 114•20 years ago
|
||
Comment on attachment 173534 [details] [diff] [review]
(Sv3a) </mailnews/*> 3rd
[Checked in: Comment 114]
Check in: { 2005-02-16 03:50 neil%parkwaycc.co.uk }
Attachment #173534 -
Attachment description: (Sv3a) </mailnews/*> 3rd → (Sv3a) </mailnews/*> 3rd
[Checked in: Comment 114]
Attachment #173534 -
Attachment is obsolete: true
Updated•20 years ago
|
Attachment #174788 -
Flags: review? → review?(bugmail)
Attachment #174788 -
Flags: review?(bugmail) → review+
Assignee | ||
Comment 116•20 years ago
|
||
Comment on attachment 174788 [details] [diff] [review]
(Tv1) transformiix/xpath
Thanks !
I wonder if fixing
{{
10. extensions/transformiix/source/xpath/XFormsFunctionCall.cpp:81 (See
build log excerpt)
Unused variable `nsresult rv'
79 {
80 *aResult = nsnull;
81 nsresult rv = NS_OK;
82 txListIterator iter(¶ms);
}}
by simply removing line 81 would not be best,
since that |rv| not used at the end of the function.
Attachment #174788 -
Attachment description: transformiix/xpath → (Tv1) transformiix/xpath
Attachment #174788 -
Flags: superreview?(peterv)
Comment 117•20 years ago
|
||
*** Bug 282937 has been marked as a duplicate of this bug. ***
Comment 118•19 years ago
|
||
Comment on attachment 174788 [details] [diff] [review]
(Tv1) transformiix/xpath
Code was rewritten as part of the fix for bug 278981.
Attachment #174788 -
Attachment is obsolete: true
Attachment #174788 -
Flags: superreview?(peterv)
Assignee | ||
Updated•16 years ago
|
Attachment #173534 -
Attachment is obsolete: false
Assignee | ||
Updated•16 years ago
|
Attachment #137533 -
Attachment is obsolete: false
Assignee | ||
Updated•16 years ago
|
Attachment #137539 -
Attachment is obsolete: false
Assignee | ||
Updated•16 years ago
|
Attachment #137544 -
Attachment is obsolete: false
Assignee | ||
Updated•16 years ago
|
Attachment #137549 -
Attachment is obsolete: false
Assignee | ||
Updated•16 years ago
|
Attachment #137550 -
Attachment is obsolete: false
Assignee | ||
Updated•16 years ago
|
Attachment #137551 -
Attachment is obsolete: false
Assignee | ||
Updated•16 years ago
|
Attachment #137586 -
Attachment is obsolete: false
Assignee | ||
Updated•16 years ago
|
Attachment #137588 -
Attachment is obsolete: false
Assignee | ||
Updated•16 years ago
|
Attachment #146705 -
Attachment is obsolete: false
Assignee | ||
Updated•16 years ago
|
Attachment #146707 -
Attachment is obsolete: false
Assignee | ||
Updated•16 years ago
|
Attachment #146708 -
Attachment is obsolete: false
Assignee | ||
Updated•16 years ago
|
Attachment #146706 -
Attachment is obsolete: false
Assignee | ||
Updated•16 years ago
|
![]() |
||
Comment 120•15 years ago
|
||
compiler warnings are build config, let's put this there.
Component: General → Build Config
QA Contact: scc → build-config
Updated•14 years ago
|
Blocks: buildwarning
Whiteboard: [Leave open until there is no more such warnings in tinderbox: wait for bug 228780 to better see] → [build_warning][Leave open until there is no more such warnings in tinderbox: wait for bug 228780 to better see]
Comment 121•10 years ago
|
||
All -Wunused-variable warnings have been fixed. \o/
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•