Fix warnings (Ingmar Alting)
This commit is contained in:
parent
f8a5db5ab0
commit
03be184bd6
2 changed files with 3 additions and 3 deletions
|
@ -29,7 +29,7 @@ long min, max; /* minimum and maximum values for the parameter */
|
|||
char value[EP_BUF_SIZE];
|
||||
char PUNCT[] = ":,;.";
|
||||
long newpar;
|
||||
int s, i, radix, r, keylen;
|
||||
int s, i, radix, r;
|
||||
|
||||
if ((s=env_get_param(env, value, sizeof(value))) != 0) {
|
||||
if (s == ESRCH) return(EP_UNSET); /* only error allowed */
|
||||
|
@ -85,6 +85,7 @@ long min, max; /* minimum and maximum values for the parameter */
|
|||
}
|
||||
badenv:
|
||||
env_panic(env);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -14,8 +14,7 @@ char *prefix; /* prefix to test for */
|
|||
*/
|
||||
char value[EP_BUF_SIZE];
|
||||
char punct[] = ":,;.";
|
||||
int i, s, keylen;
|
||||
char *val;
|
||||
int s;
|
||||
size_t n;
|
||||
|
||||
if ((s = env_get_param(env, value, sizeof(value))) != 0) {
|
||||
|
|
Loading…
Reference in a new issue