Commit b6417845 authored by David Gobbi's avatar David Gobbi Committed by Code Review

Merge topic 'break-warning' into master

cdc8d8ae Fix unreachable-code-break warnings.
parents 3637cce3 cdc8d8ae
......@@ -135,7 +135,7 @@ InitialCausalCoefficient
}
return(c[0] + Sum / (1.0 - zn * zn));
}
break;
/* break; (unecessary because of return) */
case VTK_IMAGE_BORDER_MIRROR:
/* this initialization corresponds to mirror boundaries */
......@@ -167,7 +167,7 @@ InitialCausalCoefficient
}
return(Sum / (1.0 - zn * zn));
}
break;
/* break; (unecessary because of return) */
case VTK_IMAGE_BORDER_REPEAT:
/* this initialization corresponds to periodic boundaries */
......@@ -195,7 +195,7 @@ InitialCausalCoefficient
}
return(Sum / (1.0 - zn));
}
break;
/* break; (unecessary because of return) */
}
return(0.0);
......
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