fix whiny compiler

This commit is contained in:
Derek S. Ray
2015-04-02 17:14:48 -04:00
parent af5ed436b8
commit e2f839efbd
+2 -2
View File
@@ -4939,7 +4939,7 @@ sp_lev *lvl;
break; break;
case SPO_SEL_LINE: case SPO_SEL_LINE:
{ {
struct opvar *tmp, *tmp2, *pt = selection_opvar(NULL); struct opvar *tmp = NULL, *tmp2 = NULL, *pt = selection_opvar(NULL);
schar x1,y1,x2,y2; schar x1,y1,x2,y2;
if (!OV_pop_c(tmp) || !OV_pop_c(tmp2)) panic("no ter sel linecoord"); if (!OV_pop_c(tmp) || !OV_pop_c(tmp2)) panic("no ter sel linecoord");
get_location_coord(&x1, &y1, ANY_LOC, coder->croom, OV_i(tmp)); get_location_coord(&x1, &y1, ANY_LOC, coder->croom, OV_i(tmp));
@@ -4956,7 +4956,7 @@ sp_lev *lvl;
break; break;
case SPO_SEL_RNDLINE: case SPO_SEL_RNDLINE:
{ {
struct opvar *tmp, *tmp2, *tmp3, *pt = selection_opvar(NULL); struct opvar *tmp = NULL, *tmp2 = NULL, *tmp3, *pt = selection_opvar(NULL);
schar x1,y1,x2,y2; schar x1,y1,x2,y2;
if (!OV_pop_i(tmp3) || !OV_pop_c(tmp) || !OV_pop_c(tmp2)) panic("no ter sel randline"); if (!OV_pop_i(tmp3) || !OV_pop_c(tmp) || !OV_pop_c(tmp2)) panic("no ter sel randline");
get_location_coord(&x1, &y1, ANY_LOC, coder->croom, OV_i(tmp)); get_location_coord(&x1, &y1, ANY_LOC, coder->croom, OV_i(tmp));