Commit a7b287bb authored by Mathieu Faverge's avatar Mathieu Faverge

Fix multiple statement warning

parent 489ba1f4
......@@ -287,7 +287,9 @@ drawsvg_lines_stepk( const libhqr_tree_t *qrtree, FILE *file,
{
int i, m, p, end;
int imax = qrtree->mt - 1;
if (!full) { imax -= k; }
if (!full) {
imax -= k;
}
/* Get order for step k */
libhqr_walk_stepk( qrtree, k, tiles );
......
......@@ -53,7 +53,8 @@ libhqr_print_type( const libhqr_tree_t *qrtree )
for (k=libhqr_imin(minMN, lmg+1); k<minMN; k++) {
printf( " " );
}
lm++; lmg+=qrtree->p;
lm++;
lmg += qrtree->p;
if ( lmg >= qrtree->mt ) {
rank++;
lmg = rank;
......@@ -94,7 +95,8 @@ libhqr_print_pivot( const libhqr_tree_t *qrtree )
for (k=libhqr_imin(minMN, lmg+1); k<minMN; k++) {
printf( " " );
}
lm++; lmg+=qrtree->p;
lm++;
lmg += qrtree->p;
if ( lmg >= qrtree->mt ) {
rank++;
lmg = rank;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment