diff --git a/z_spm_expand.c b/z_spm_expand.c
index e2f5f5faeea82e64b9c3a78019921587c0b29aca..69c4a67b2d177a3fc23932ff07d5cfe2d5315f1d 100644
--- a/z_spm_expand.c
+++ b/z_spm_expand.c
@@ -176,7 +176,7 @@ z_spmCSCExpand(const pastix_spm_t *spm)
 
     assert(spm->loc2glob == NULL);//to do
 
-    (void)newval;
+    (void)newval; (void)lda;
     return newspm;
 }
 
@@ -337,7 +337,7 @@ z_spmCSRExpand(const pastix_spm_t *spm)
 
     assert(spm->loc2glob == NULL);//to do
 
-    (void)newval;
+    (void)newval; (void)lda;
     return newspm;
 }