(cmd_file_handle) Fix msg() bug found by -Wformat.
[pspp] / src / vfm.c
index 90edfcd02694cc74aed682ad7ac8fccc04bedeea..3b403995e70ea0ce54ec6a39067c9a818010a12a 100644 (file)
--- a/src/vfm.c
+++ b/src/vfm.c
@@ -259,7 +259,8 @@ write_case (struct write_case_data *wc_data)
     {
       if (compaction_necessary) 
         {
-          dict_compact_case (temp_dict, &wc_data->sink_case, &wc_data->trns_case);
+          dict_compact_case (temp_dict, &wc_data->sink_case,
+                             &wc_data->trns_case);
           vfm_sink->class->write (vfm_sink, &wc_data->sink_case);
         }
       else
@@ -405,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)