Skip to content

Commit

Permalink
Remove several unused variables
Browse files Browse the repository at this point in the history
Found by Clang 19
  • Loading branch information
gruenich committed Nov 9, 2024
1 parent 36f108f commit 2f0d463
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion CHOLMOD/Check/cholmod_check.c
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,6 @@ static int check_common
//--------------------------------------------------------------------------

RETURN_IF_NULL_COMMON (FALSE) ;
int init_print = print ;

P2 ("%s", "\n") ;

Expand Down
1 change: 0 additions & 1 deletion CHOLMOD/Cholesky/cholmod_analyze.c
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,6 @@ cholmod_factor *CHOLMOD(analyze_p2)
//--------------------------------------------------------------------------

n = A->nrow ;
ncol = A->ncol ;

//--------------------------------------------------------------------------
// set the default strategy
Expand Down
1 change: 0 additions & 1 deletion CHOLMOD/Cholesky/t_cholmod_resymbol_worker.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ static void TEMPLATE (cholmod_resymbol_worker)
Int *Ap = A->p ;
Int *Anz = A->nz ;
bool apacked = A->packed ;
bool sorted = A->sorted ;
int stype = A->stype ;

Int *Li = L->i ;
Expand Down
1 change: 0 additions & 1 deletion CHOLMOD/Modify/cholmod_rowadd.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ int CHOLMOD(rowadd_mark)
RETURN_IF_NULL (R, FALSE) ;
RETURN_IF_XTYPE_INVALID (L, CHOLMOD_PATTERN, CHOLMOD_REAL, FALSE) ;
RETURN_IF_XTYPE_INVALID (R, CHOLMOD_REAL, CHOLMOD_REAL, FALSE) ;
Int n = L->n ;
Int k = kadd ;
if (kadd >= L->n || k < 0)
{
Expand Down
1 change: 0 additions & 1 deletion CHOLMOD/Modify/cholmod_rowdel.c
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ int CHOLMOD(rowdel_mark)
RETURN_IF_NULL_COMMON (FALSE) ;
RETURN_IF_NULL (L, FALSE) ;
RETURN_IF_XTYPE_INVALID (L, CHOLMOD_PATTERN, CHOLMOD_REAL, FALSE) ;
Int n = L->n ;
Int k = kdel ;
if (kdel >= L->n || k < 0)
{
Expand Down
1 change: 0 additions & 1 deletion SPEX/Python/SPEXpy/Source/spex_python_connect.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ SPEX_info spex_python

SPEX_options option = NULL;
SPEX_create_default_options(&option);
SPEX_preorder order_in = ordering;
option->order = ordering;

//--------------------------------------------------------------------------
Expand Down

0 comments on commit 2f0d463

Please sign in to comment.