Closed
Bug 1085004
Opened 11 years ago
Closed 11 years ago
mIsCachable is always true
Categories
(MailNews Core :: Backend, defect)
MailNews Core
Backend
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 37.0
People
(Reporter: rkent, Assigned: thomas8)
Details
Attachments
(1 file)
|
1.24 KB,
patch
|
Irving
:
review+
|
Details | Diff | Splinter Review |
mIsCachable in nsMsgDBFolder seems to always be true. Should we remove it? It would be good to look through code history to confirm that it used to be used, but the original use was removed.
'hg grep --all mIsCachable' only returned this:
mailnews/base/util/nsMsgDBFolder.cpp:9082:-: mIsCachable(PR_TRUE),
mailnews/base/util/nsMsgDBFolder.cpp:9082:-: mIsCachable = PR_TRUE;
mailnews/base/util/nsMsgDBFolder.cpp:9082:+: mIsCachable(true),
mailnews/base/util/nsMsgDBFolder.cpp:9082:+: mIsCachable = true;
mailnews/base/util/nsMsgDBFolder.h:8587:-: PRBool mIsCachable;
mailnews/base/util/nsMsgDBFolder.h:8587:+: bool mIsCachable;
mailnews/base/util/nsMsgDBFolder.cpp:0:+: mIsCachable(PR_TRUE),
mailnews/base/util/nsMsgDBFolder.cpp:0:+: mIsCachable = PR_TRUE;
mailnews/base/util/nsMsgDBFolder.h:0:+: PRBool mIsCachable;
So it looks it was never used as far as hg history can see.
Thomas, would you like to try your new patching skills on this easy one? :)
Flags: needinfo?(bugzilla2007)
| Assignee | ||
Comment 3•11 years ago
|
||
(In reply to :aceman from comment #2)
> Thomas, would you like to try your new patching skills on this easy one? :)
Sure. Here's the patch :)
Yes, mIsCachable looks obsolete when it's always true and never queried.
I picked a reviewer from suggestions; pls change as required.
Assignee: nobody → bugzilla2007
Status: NEW → ASSIGNED
Flags: needinfo?(bugzilla2007)
Attachment #8512566 -
Flags: review?(mozilla)
Comment on attachment 8512566 [details] [diff] [review]
1085004.remove_mIsCachable.patch
Review of attachment 8512566 [details] [diff] [review]:
-----------------------------------------------------------------
I think Bienvenu is inactive so we do not ask him for review these days. Let's try irving.
Attachment #8512566 -
Flags: review?(mozilla) → review?(irving)
Comment 5•11 years ago
|
||
Comment on attachment 8512566 [details] [diff] [review]
1085004.remove_mIsCachable.patch
Review of attachment 8512566 [details] [diff] [review]:
-----------------------------------------------------------------
Sorry for the long delayed review; I'm not as active with Mozilla these days so I'm not getting around to things as quickly.
Attachment #8512566 -
Flags: review?(irving) → review+
Comment 6•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 37.0
You need to log in
before you can comment on or make changes to this bug.
Description
•