[project @ 2005-03-30 01:22:24 by sof]
authorsof <unknown>
Wed, 30 Mar 2005 01:22:24 +0000 (01:22 +0000)
committersof <unknown>
Wed, 30 Mar 2005 01:22:24 +0000 (01:22 +0000)
Avoid a (rather verbose) GHC warning from being issued -- initialize the
runPhase.mod_summary.ms_obj_date field.

ghc/compiler/main/DriverPipeline.hs

index c6d7a4d..fea6651 100644 (file)
@@ -651,6 +651,7 @@ runPhase (Hsc src_flavour) stop dflags0 basename suff input_fn get_output_fn _ma
                                        ms_hspp_buf  = hspp_buf,
                                        ms_location  = location4,
                                        ms_hs_date   = src_timestamp,
+                                       ms_obj_date  = Nothing,
                                        ms_imps      = unused_field,
                                        ms_srcimps   = unused_field }