Closed
Bug 610809
Opened 15 years ago
Closed 12 years ago
warning: ‘oldestTime’ may be used uninitialized in nsCookieService.cpp:3222
Categories
(Core :: Networking: Cookies, defect)
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
blocking2.0 | --- | - |
People
(Reporter: jdm, Assigned: jdm)
References
(Blocks 1 open bug)
Details
(Whiteboard: [build_warning])
PRInt64 oldestTime;
...
for (nsCookieEntry::IndexType i = 0; i < cookies.Length(); ++i) {
...
if (!aIter.entry || oldestTime > cookie->LastAccessed()) {
oldestTime = cookie->LastAccessed();
It should probably be initialized.
Comment 1•15 years ago
|
||
It's a bogus warning. (Exercise for the reader!)
I'd take a patch, though, just to shut it up. :)
(Congrats!)
Assignee: nobody → josh
Status: NEW → ASSIGNED
Updated•15 years ago
|
blocking2.0: --- → -
Updated•14 years ago
|
Blocks: buildwarning
![]() |
||
Comment 2•12 years ago
|
||
This was fixed in Bug 605180.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•