Closed Bug 450177 Opened 16 years ago Closed 16 years ago

"TestBlockingSocket.cpp(158) : warning C4390: ';' : empty controlled statement found; is this the intent?"

Categories

(Core :: Networking, defect)

defect
Not set
minor

Tracking

()

RESOLVED FIXED
mozilla1.9.1a2

People

(Reporter: sgautherie, Assigned: sgautherie)

Details

Attachments

(1 file)

[Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1a2pre) Gecko/20080811184452 Minefield/3.1a2pre] (home, optim default) (W2Ksp4)

{{
.../netwerk/test/TestBlockingSocket.cpp(158) : warning C4390: ';' : empty controlled statement found; is this the intent?
}}

This is because, in a build without |PR_LOGGING| enabled, |LOG(...);| becomes |;|.
Flags: in-testsuite-
[Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1a2pre) Gecko/20080811184452 Minefield/3.1a2pre] (home, optim default) (W2Ksp4)

If you don't like the |#ifdef|,
adding brackets around |LOG()| would fix it too.
Assignee: nobody → sgautherie.bz
Status: NEW → ASSIGNED
Attachment #333306 - Flags: superreview?(cbiesinger)
Attachment #333306 - Flags: review?(cbiesinger)
Attachment #333306 - Flags: superreview?(cbiesinger)
Attachment #333306 - Flags: superreview+
Attachment #333306 - Flags: review?(cbiesinger)
Attachment #333306 - Flags: review+
Keywords: checkin-needed
pushing to ssh://hg.mozilla.org/mozilla-central/
searching for changes
remote: adding changesets
remote: adding manifests
remote: adding file changes
remote: added 1 changesets with 1 changes to 1 files
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Attachment #333306 - Attachment description: (Av1) <TestBlockingSocket.cpp> → (Av1) <TestBlockingSocket.cpp> [Checkin: Comment 2]
(In reply to comment #2)
> pushing to ssh://hg.mozilla.org/mozilla-central/
> searching for changes
> remote: adding changesets
> remote: adding manifests
> remote: adding file changes
> remote: added 1 changesets with 1 changes to 1 files

and the changeset is ef8c0696afe5
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: