Closed Bug 126460 Opened 23 years ago Closed 23 years ago

Occurances of uninitialized variables being used before being set (in db/mork and mailnews/db).

Categories

(MailNews Core :: Database, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: mozilla-bugs, Assigned: Bienvenu)

References

Details

Attachments

(1 file)

Not sure what component includes db/mork, so filing under Browser-General. This bug is just for the warnings in various source files in db/mork/src. Currently (http://tinderbox.mozilla.org/SeaMonkey/warn1014136200.29882.html - Tue, 19 Feb 2002 11:30 EST) TBox shows the following warnings: db/mork/src/morkAtom.cpp:454 `mork_size thisSize' might be used uninitialized in this function db/mork/src/morkAtom.cpp:455 `mork_cscode thisForm' might be used uninitialized in this function
Bug 59652 is the meta-bug tracking the fight against these (potentially very nasty) warnings. P.S. Trying to make sure that 1.0 has as little warnings as possible.
Blocks: 59652
Keywords: mozilla1.0
Mork is the mailnews database. :)
Assignee: asa → bienvenu
Component: Browser-General → Mail Database
Product: Browser → MailNews
QA Contact: doronr → esther
Oh, and speaking about the mailnews database: there are also mailnews/db/msgdb/src/nsMsgThread.cpp:214 `nsresult rv' might be used uninitialized in this function mailnews/db/msgdb/src/nsMsgThread.cpp:1049 `nsresult rv' might be used uninitialized in this function (in bug 59673). Both seem like real bugs (probably minor ones, though)...
Currently (http://tinderbox.mozilla.org/SeaMonkey/warn1016552220.1515.html - Tue, 19 Mar 2002 10:37 EST) TBox shows the following "xxx might be used uninitialized" warnings in db files: db/mork/src/morkAtom.cpp:454 `mork_size thisSize' might be used uninitialized in this function db/mork/src/morkAtom.cpp:455 `mork_cscode thisForm' might be used uninitialized in this function mailnews/db/msgdb/src/nsMsgThread.cpp:1049 `nsresult rv' might be used uninitialized in this function mailnews/db/msgdb/src/nsMsgThread.cpp:214 `nsresult rv' might be used uninitialized in this function
Blocks: 59673
Summary: Occurances of uninitialized variables being used before being set (in db/mork). → Occurances of uninitialized variables being used before being set (in db/mork and mailnews/db).
Attached patch proposed fix (deleted) — Splinter Review
Comment on attachment 84316 [details] [diff] [review] proposed fix sr=sspitzer
Attachment #84316 - Flags: superreview+
fixed
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
QA Contact: esther → stephend
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: