[Git][ghc/ghc][wip/ghc-debug] Fix warning

Sven Tennie gitlab at gitlab.haskell.org
Fri Aug 14 12:05:53 UTC 2020



Sven Tennie pushed to branch wip/ghc-debug at Glasgow Haskell Compiler / GHC


Commits:
16dec2b6 by Sven Tennie at 2020-08-14T14:05:33+02:00
Fix warning

- - - - -


1 changed file:

- libraries/ghc-heap/GHC/Exts/Heap/ProfInfo/PeekProfInfo_ProfilingEnabled.hsc


Changes:

=====================================
libraries/ghc-heap/GHC/Exts/Heap/ProfInfo/PeekProfInfo_ProfilingEnabled.hsc
=====================================
@@ -156,8 +156,6 @@ peekIndexTable loopBreakers ptr = do
             it_next = it_next',
             it_back_edge = it_back_edge'
         }
-    where
-        ptrAsInt = ptrToInt ptr
 
 #else
 import Prelude



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/16dec2b634dcbe2254559a2f3e167ba5ac0acee8

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/16dec2b634dcbe2254559a2f3e167ba5ac0acee8
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20200814/2f9e6f7a/attachment.html>


More information about the ghc-commits mailing list