Closed Bug 200659 Opened 21 years ago Closed 20 years ago

Remove goto's from mimecms.cpp

Categories

(MailNews Core :: MIME, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: d_king, Assigned: d_king)

Details

Attachments

(1 file, 2 obsolete files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4a) Gecko/20030403
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4a) Gecko/20030403

As a matter of good programming style, and to avoid tree redness, mimecms should
not use goto's.

Reproducible: Always

Steps to Reproduce:
1. Change code without realising it has goto's
2. Watch tree go red
Taking.
Assignee: ducarroz → d_king
Attached patch First, basic patch. (obsolete) — Splinter Review
Well, it should work, now to see what gcc says about it.
Comment on attachment 127845 [details] [diff] [review]
First, basic patch.

OK, so I forgot all about this bug. Patch is still valid....

Asking for a "r".
Attachment #127845 - Flags: review?(kaie)
Comment on attachment 127845 [details] [diff] [review]
First, basic patch.

r=kaie

If you want, feel free to change 
  match = PR_FALSE;
  return match;
to
  return PR_FALSE;
in both places.
Attachment #127845 - Flags: review?(kaie) → review+
Attachment #127845 - Attachment is obsolete: true
Comment on attachment 135081 [details] [diff] [review]
Includes suggestions from Kai, and some whitespace weirdness

Carrying over Kai's Review +. Seeking SR, although I don't think I have Seth's
correct eMail address.
Attachment #135081 - Flags: superreview?(sspitzer)
Attachment #135081 - Flags: review+
Comment on attachment 135081 [details] [diff] [review]
Includes suggestions from Kai, and some whitespace weirdness

Seth is obviously very busy, so I'm asking mscott for a SR.
Attachment #135081 - Flags: superreview?(sspitzer) → superreview?(mscott)
Attachment #135081 - Attachment is obsolete: true
Comment on attachment 138195 [details] [diff] [review]
Updated to match current tree

Carrying over R from kaie
Attachment #138195 - Flags: review+
Attachment #135081 - Flags: superreview?(mscott)
Comment on attachment 138195 [details] [diff] [review]
Updated to match current tree

Asking for SR, and if Seth could check it in as well?
Attachment #138195 - Flags: superreview?(sspitzer)
Status: NEW → ASSIGNED
David, Seth is not really doing reviews that I know of.. mscott is in fact your
best bet.
Comment on attachment 138195 [details] [diff] [review]
Updated to match current tree

bz: Thanks for the pointer
Attachment #138195 - Flags: superreview?(sspitzer) → superreview?(mscott)
Attachment #138195 - Flags: superreview?(mscott) → superreview+
Thanks, can someone check this in for me as I have no checkin rights.
Thanks to bz for checking this in for me.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Verified FIXED using LXR:

1.22	bzbarsky%mit.edu	2004-05-04 17:55	 	Remove goto's from mimecms.cpp. Bug
200659, patch by David G King
<d_king@xtra.co.nz>, r=kaie, sr=mscott
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: