From: Ben Pfaff Date: Mon, 4 Jul 2005 05:51:20 +0000 (+0000) Subject: (close_active_file) Remove unnecessary test. X-Git-Tag: v0.4.0~46 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f053e35b27208cad9bec322c67ba4ef022c1dc1;p=pspp-builds.git (close_active_file) Remove unnecessary test. --- diff --git a/src/vfm.c b/src/vfm.c index 8f594797..3b403995 100644 --- a/src/vfm.c +++ b/src/vfm.c @@ -406,11 +406,8 @@ close_active_file (void) dict_compact_values (default_dict); /* Free data source. */ - if (vfm_source != NULL) - { - free_case_source (vfm_source); - vfm_source = NULL; - } + free_case_source (vfm_source); + vfm_source = NULL; /* Old data sink becomes new data source. */ if (vfm_sink->class->make_source != NULL)