commit 06c68ab0d59256860b6457bd6c8809f503f403bf
parent bd1d8e2dde1522f245e99a569cbbbf68a7ee1800
Author: Claudio Alessi <smoppy@gmail.com>
Date: Sun, 28 Feb 2016 15:59:33 +0100
Remove useless initialization.
Diffstat:
1 file changed, 0 insertions(+), 3 deletions(-)
diff --git a/core.c b/core.c
@@ -186,9 +186,6 @@ setmode(const Arg *arg) {
break;
if(!v) {
v = ecalloc(1, sizeof(View));
- v->items = NULL;
- v->form = NULL;
- v->nitems = 0;
for(i = 0; i < LENGTH(modes); ++i)
if(!strcmp(modes[i].name, m->name))
v->mode = &modes[i];