Status

Developer Documentation
General
--
minor
RESOLVED FIXED
10 years ago
5 years ago

People

(Reporter: Gonzalo Arreche, Unassigned)

Tracking

Details

(URL)

Attachments

(1 attachment)

(Reporter)

Description

10 years ago
Created attachment 286712 [details] [diff] [review]
removed one indentation level and a braket.

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
(Assignee)

Updated

10 years ago
Product: mozilla.org → Websites

Comment 1

10 years ago
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
Last Resolved: 9 years ago
Resolution: --- → FIXED
(Assignee)

Updated

6 years ago
Component: Documentation Requests → Documentation
Product: Mozilla Developer Network → Mozilla Developer Network
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.