Closed Bug 401754 Opened 17 years ago Closed 15 years ago

Brackets don't match

Categories

(Developer Documentation Graveyard :: General, defect)

defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: gonzaloarreche, Unassigned)

References

()

Details

Attachments

(1 file)

There's one closing-braket that doesn't match, there are two opening and three closing.

Section: Error handling, Return from errors immediately (first code sample).

rv = foo->Call1();
if (NS_SUCCEEDED(rv)) {
    rv = foo->Call2();
        if (NS_SUCCEEDED(rv)) {
            rv = foo->Call3();
        }
    } // unmatched.
}
return rv;
Component: *.mozilla.org → www.mozilla.org
Product: Websites → mozilla.org
QA Contact: other-mozilla-org → www-mozilla-org
Version: unspecified → other
Summary: brakets doesn't match. → Brackets don't match
Product: mozilla.org → Websites
This page now redirects to the style guide on MDC at

http://developer.mozilla.org/En/Mozilla_Coding_Style_Guide

Changing product to Mozilla Developer Center for further discussion.
Component: www.mozilla.org → Documentation Requests
Product: Websites → Mozilla Developer Center
QA Contact: www-mozilla-org → doc-request
Version: other → unspecified
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Component: Documentation Requests → Documentation
Component: Documentation → General
Product: Mozilla Developer Network → Developer Documentation
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: