diff --git a/compute/pzgetrf.c b/compute/pzgetrf.c
index 5b63d1e010f2d12dab9eef167f12cf94b8e0e4a4..cfe7f507ede116ca6f0385f0730b4fe96abf4891 100644
--- a/compute/pzgetrf.c
+++ b/compute/pzgetrf.c
@@ -447,7 +447,6 @@ chameleon_pzgetrf_panel_permute_batched( struct chameleon_pzgetrf_s *ws,
 {
     switch( ws->alg ) {
     case ChamGetrfPPiv:
-        chameleon_attr_fallthrough;
     case ChamGetrfPPivPerColumn:
     {
         int m;
diff --git a/runtime/starpu/codelets/codelet_zperm_allreduce.c b/runtime/starpu/codelets/codelet_zperm_allreduce.c
index 87c4cc61af30b117d86b54f4a5ae517c6dbd5f0e..4c33a2e5086199af65219e86189f47aba18c7755 100644
--- a/runtime/starpu/codelets/codelet_zperm_allreduce.c
+++ b/runtime/starpu/codelets/codelet_zperm_allreduce.c
@@ -178,7 +178,7 @@ INSERT_TASK_zperm_allreduce_send_A( const RUNTIME_option_t *options,
                                     int                     np,
                                     int                    *proc_involved )
 {
-    int p, rank;
+    int p;
 
     for ( p = 0; p < np; p ++ ) {
         if ( proc_involved[ p ] == myrank ) {