fix warning
authorSimon Marlow <marlowsd@gmail.com>
Tue, 21 Aug 2012 14:02:34 +0000 (15:02 +0100)
committerSimon Marlow <marlowsd@gmail.com>
Tue, 21 Aug 2012 14:02:34 +0000 (15:02 +0100)
compiler/deSugar/Coverage.lhs

index 2f5ef71..34500bb 100644 (file)
@@ -1088,7 +1088,6 @@ mkTickish boxLabel countEntries topOnly pos fvs decl_path =
           HpcTicks    -> HpcTick (this_mod env) c
           ProfNotes   -> ProfNote cc count True{-scopes-}
           Breakpoints -> Breakpoint c ids
-          _otherwise  -> panic "mkTickish: bad source span!"
     in
     ( tickish
     , fvs