Skip to content

Commit

Permalink
Initialize variables to silence warning
Browse files Browse the repository at this point in the history
I know that there are multiple elements, but the compiler does not.
  • Loading branch information
jedbrown committed Apr 24, 2011
1 parent e7b497e commit c08792a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jacobi/tests/ex1.c
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ static dInt productInt(dInt N,const dInt a[])
static dErr checkInterp(dInt N,dEFS efs[],Vec u)
{
dRule rule;
dReal *x[3],z,dz;
dReal *x[3],z=0,dz=0;
const dReal *qx[3],*qw[3];
dScalar *f,*g=NULL,(*dg)[3]=NULL;
dInt P[3],Q[3],ind,size,dim,needed,qind,gsize=0;
Expand Down

0 comments on commit c08792a

Please sign in to comment.