(getpath): Remove unused local variables.
This commit is contained in:
parent
961273b6a2
commit
ca246d0bf9
1 changed files with 1 additions and 2 deletions
|
@ -99,10 +99,9 @@ getpath(char *buf, char *arg, coord x, coord y, int onlyown,
|
||||||
char *bp;
|
char *bp;
|
||||||
char prompt[128];
|
char prompt[128];
|
||||||
coord dx, dy;
|
coord dx, dy;
|
||||||
struct sctstr sect, dsect;
|
struct sctstr sect;
|
||||||
coord nx, ny;
|
coord nx, ny;
|
||||||
int dir;
|
int dir;
|
||||||
double mv_cost;
|
|
||||||
|
|
||||||
if (arg) {
|
if (arg) {
|
||||||
strncpy(buf, arg, MAX_PATH_LEN - 1);
|
strncpy(buf, arg, MAX_PATH_LEN - 1);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue