summaryrefslogtreecommitdiff
path: root/src/post.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-14 06:11:18 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-14 06:11:18 -0500
commitd12c7e08c67ff4060426cdc89ad05952cc5d4446 (patch)
treed25de6351f4ce44cc0bbbd68a0f587a469ef4cff /src/post.h
parentd89c60f49cf1eb2df3cc761b9790e6fc47cc7c96 (diff)
downloadfork-ledger-d12c7e08c67ff4060426cdc89ad05952cc5d4446.tar.gz
fork-ledger-d12c7e08c67ff4060426cdc89ad05952cc5d4446.tar.bz2
fork-ledger-d12c7e08c67ff4060426cdc89ad05952cc5d4446.zip
Removed post_t::xdata_t::ptr, which is not used
Diffstat (limited to 'src/post.h')
-rw-r--r--src/post.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/post.h b/src/post.h
index 22f8b961..a0ab5ffd 100644
--- a/src/post.h
+++ b/src/post.h
@@ -135,13 +135,11 @@ public:
date_t date;
datetime_t datetime;
account_t * account;
- void * ptr;
std::list<sort_value_t> sort_values;
xdata_t()
- : supports_flags<uint_least16_t>(), count(0),
- account(NULL), ptr(NULL) {
+ : supports_flags<uint_least16_t>(), count(0), account(NULL) {
TRACE_CTOR(post_t::xdata_t, "");
}
xdata_t(const xdata_t& other)
@@ -152,7 +150,6 @@ public:
count(other.count),
date(other.date),
account(other.account),
- ptr(NULL),
sort_values(other.sort_values)
{
TRACE_CTOR(post_t::xdata_t, "copy");