Closed Bug 825807 Opened 12 years ago Closed 11 years ago

Some nsNetworkManagerListener tweaks

Categories

(Core :: Networking, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla20

People

(Reporter: n.nethercote, Assigned: n.nethercote)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

Some nsNetworkManagerListener tweaks are forthcoming.
clang 3.2 warns:

  toolkit/system/dbus/nsNetworkManagerListener.h:43:27 [-Wunused-private-field] private field 'mManageIOService' is not used

This patch removes that field.
Attachment #696925 - Flags: review?(bzbarsky)
This patch makes nsNetworkManagerListener.{h,cpp} follow the conventions at
https://developer.mozilla.org/en-US/docs/Developer_Guide/Coding_Style more
closely:

- Use correct Emacs/Vim modelines.
- Brace the bodies of |if| statements.
- Put function-opening braces on their own line.
- No trailing whitespace.
- Other minor things.
Attachment #696926 - Flags: review?(bzbarsky)
Comment on attachment 696926 [details] [diff] [review]
(part 2) - Improve the style of nsNetworkManagerListener.{h,cpp}.

r=me
Attachment #696926 - Flags: review?(bzbarsky) → review+
Comment on attachment 696925 [details] [diff] [review]
(part 1) - Remove unused nsNetworkManagerListener::mManageIOService field.

r=me
Attachment #696925 - Flags: review?(bzbarsky) → review+
https://hg.mozilla.org/mozilla-central/rev/928eb7835982
https://hg.mozilla.org/mozilla-central/rev/4dbd963117b9
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: