diff options
author | Brandon Casey <casey@nrlssc.navy.mil> | 2008-10-06 18:39:10 -0500 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2008-10-08 07:30:59 -0700 |
commit | 19d4b416f429ac2d3f4c225aaf1af8761bcb03dd (patch) | |
tree | 6675797b5e141a32cf8c4d551be3dddc5e5fc020 /editor.c | |
parent | Merge branch 'maint' (diff) | |
download | tgif-19d4b416f429ac2d3f4c225aaf1af8761bcb03dd.tar.xz |
Replace xmalloc/memset(0) pairs with xcalloc
Many call sites immediately initialize allocated memory with zero after
calling xmalloc. A single call to xcalloc can replace this two-call
sequence.
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'editor.c')
0 files changed, 0 insertions, 0 deletions