summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
00a3291)
it can't tell that one branch of a particular switch is always
taken. Adding a default clause with an automatic assertion failure
apparently fixes it.
git-svn-id: svn://svn.tartarus.org/sgt/puzzles@6148
cda61777-01e9-0310-a592-
d414129be87e
+ default: /* should never happen */
+ assert(!"invalid direction");
}
if (r1.h > 0 && r1.w > 0)
place_rect(params2, grid, r1);
}
if (r1.h > 0 && r1.w > 0)
place_rect(params2, grid, r1);