diff --git a/dune/gfe/pktop1mgtransfer.hh b/dune/gfe/pktop1mgtransfer.hh
index 7204e2627f529e96b361c90219a1e000082955ac..40563b17d4aa7b04b67440c51df5cfb473769f1e 100644
--- a/dune/gfe/pktop1mgtransfer.hh
+++ b/dune/gfe/pktop1mgtransfer.hh
@@ -46,9 +46,6 @@ public:
                const P1NodalBasis<GridView>& p1Basis)
         {
         typedef typename TransferOperatorType::block_type TransferMatrixBlock;
-        typedef typename GridView::ctype ctype;
-
-        const int dim = GridView::dimension;
 
         int rows = fineBasis.size();
         int cols = p1Basis.size();