]> granicus.if.org Git - neomutt/commit
alias drop self 926/head
authorRichard Russon <rich@flatcap.org>
Sat, 4 Nov 2017 14:31:54 +0000 (14:31 +0000)
committerRichard Russon <rich@flatcap.org>
Tue, 7 Nov 2017 13:48:46 +0000 (13:48 +0000)
commited750e21f004eda93379404484841262ba68b2b0
treef58b70fd394cf8e1fce8470a06650a90eb6cd6fa
parent6b8388608bd3627854c8f60defae0181d6ed5dd5
alias drop self

struct Alias began:

```c
struct Alias
{
  struct Alias *self; /* XXX - ugly hack */
  ...
```

There didn't seem to be any reason for this pointer.
The two places that allocate a new Alias, immediately set the self
pointer to the object.  No users of `self` test it first.
addrbook.c
alias.c
alias.h
init.c