Get rid of annoying "useless expression" warnings.

RESOLVED FIXED

Status

Add-on SDK
General
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: irakli, Assigned: irakli)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Comment hidden (empty)
Assignee: nobody → rFobic
Created attachment 621188 [details]
Pointer to Github pull request: https://github.com/mozilla/addon-sdk/pull/430

Pointer to Github pull-request
Attachment #621188 - Flags: review?(poirot.alex)
Comment on attachment 621188 [details]
Pointer to Github pull request: https://github.com/mozilla/addon-sdk/pull/430

  for each();
isn't that obvious, semi-colon looks like any end of line semicolon.
You can't be fooled by similar forms:
  for each() {
  }
  for each() {}
  for each() 
    ;
Attachment #621188 - Flags: review?(poirot.alex) → review+

Comment 3

6 years ago
Commit pushed to master at https://github.com/mozilla/addon-sdk

https://github.com/mozilla/addon-sdk/commit/bce6e1f88aaf230afaa0614e1e270e2050df2f9c
Merge pull request #430 from Gozala/hotfix/emit-warnings@752051

fix Bug 752051 - Get rid of annoying "useless expression" warnings. r=@chameau

Updated

6 years ago
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.