diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2013-02-01 18:42:45 +0100 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2013-02-01 18:42:45 +0100 |
commit | 9a6df45c4b44ca2a9559add78c1bfe692ec485b8 (patch) | |
tree | 6b0cb64463cbe97f61228b243ce4dfb908115dd9 /src/calcurse.c | |
parent | 6e733b98d023f3984be8c9d3764cd4fe1720a45f (diff) | |
download | calcurse-9a6df45c4b44ca2a9559add78c1bfe692ec485b8.zip |
day_process_storage(): Remove redundant parameter
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/calcurse.c')
-rw-r--r-- | src/calcurse.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/calcurse.c b/src/calcurse.c index 43189b0..e179e8c 100644 --- a/src/calcurse.c +++ b/src/calcurse.c @@ -49,8 +49,8 @@ int count, reg; */ static struct day_items_nb do_storage(int day_changed) { - struct day_items_nb inday = *day_process_storage(calendar_get_slctd_day(), - day_changed, &inday); + struct day_items_nb inday = day_process_storage(calendar_get_slctd_day(), + day_changed); if (day_changed) { if ((inday.nb_events + inday.nb_apoints) > 0) @@ -578,7 +578,7 @@ int main(int argc, char **argv) wins_update(FLAG_ALL); io_startup_screen(no_data_file); } - inday = *day_process_storage(0, 0, &inday); + inday = day_process_storage(0, 0); wins_slctd_set(conf.default_panel); wins_update(FLAG_ALL); |