remove register from variable declarations
This commit is contained in:
10
src/pray.c
10
src/pray.c
@@ -283,7 +283,7 @@ in_trouble(void)
|
||||
static struct obj *
|
||||
worst_cursed_item(void)
|
||||
{
|
||||
register struct obj *otmp;
|
||||
struct obj *otmp;
|
||||
|
||||
/* if strained or worse, check for loadstone first */
|
||||
if (near_capacity() >= HVY_ENCUMBER) {
|
||||
@@ -1265,7 +1265,7 @@ pleased(aligntyp g_align)
|
||||
disp.botl = TRUE;
|
||||
break;
|
||||
case 4: {
|
||||
register struct obj *otmp;
|
||||
struct obj *otmp;
|
||||
int any = 0;
|
||||
|
||||
if (Blind)
|
||||
@@ -1368,8 +1368,8 @@ pleased(aligntyp g_align)
|
||||
static boolean
|
||||
water_prayer(boolean bless_water)
|
||||
{
|
||||
register struct obj *otmp;
|
||||
register long changed = 0;
|
||||
struct obj *otmp;
|
||||
long changed = 0;
|
||||
boolean other = FALSE, bc_known = !(Blind || Hallucination);
|
||||
|
||||
for (otmp = gl.level.objects[u.ux][u.uy]; otmp; otmp = otmp->nexthere) {
|
||||
@@ -2581,7 +2581,7 @@ altar_wrath(coordxy x, coordxy y)
|
||||
static boolean
|
||||
blocked_boulder(int dx, int dy)
|
||||
{
|
||||
register struct obj *otmp;
|
||||
struct obj *otmp;
|
||||
int nx, ny;
|
||||
long count = 0L;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user