diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2012-02-10 20:00:53 -0500 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2012-02-10 20:00:53 -0500 |
commit | 267c69a5da83301d1d3d8ab7a493bbf51a17ce41 (patch) | |
tree | ceae3f61f9a0a214626319cb028ba588a2c25d2a /src/LYUtils.c | |
parent | 5307f5f9b8ef280d693fc38c1261fd7b3ffd94b1 (diff) | |
download | lynx-snapshots-267c69a5da83301d1d3d8ab7a493bbf51a17ce41.tar.gz |
snapshot of project "lynx", label v2-8-8dev_9n
Diffstat (limited to 'src/LYUtils.c')
-rw-r--r-- | src/LYUtils.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/LYUtils.c b/src/LYUtils.c index 93cf6c25..9d2131a5 100644 --- a/src/LYUtils.c +++ b/src/LYUtils.c @@ -1,5 +1,5 @@ /* - * $LynxId: LYUtils.c,v 1.218 2012/02/09 18:56:48 tom Exp $ + * $LynxId: LYUtils.c,v 1.221 2012/02/10 18:22:50 tom Exp $ */ #include <HTUtils.h> #include <HTTCP.h> @@ -629,6 +629,7 @@ static BOOL show_whereis_targets(int flag, LYstopTargetEmphasis(); TargetEmphasisON = FALSE; LYGetYX(y, offset); + (void) y; LYmove(hLine, (offset + 1)); } else { LYaddstr(tmp); @@ -1535,6 +1536,7 @@ void statusline(const char *text) ? (chtype) hashStyles[a].color : A_NORMAL) | ' '); LYGetYX(y, x); + (void) x; if (y == at_lineno) { LYclrtoeol(); } @@ -1723,8 +1725,8 @@ void LYFakeZap(int set) static int DontCheck(void) { - static long last; - long next; + static time_t last; + time_t next; /** Curses or slang setup was not invoked **/ if (dump_output_immediately) @@ -6697,7 +6699,7 @@ BOOLEAN LYValidateFilename(bstring **result, #ifndef __EMX__ if (!LYisAbsPath((*given)->str)) { #if defined(__DJGPP__) || defined(_WINDOWS) - if (strchr(*result->str, ':') != NULL) + if (strchr((*result)->str, ':') != NULL) cp = NULL; else #endif /* __DJGPP__ || _WINDOWS */ |