summaryrefslogtreecommitdiff
path: root/Build/source/texk/dviljk/dvi2xx.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/dviljk/dvi2xx.c')
-rw-r--r--Build/source/texk/dviljk/dvi2xx.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/Build/source/texk/dviljk/dvi2xx.c b/Build/source/texk/dviljk/dvi2xx.c
index fcc11370791..c59c8d2408c 100644
--- a/Build/source/texk/dviljk/dvi2xx.c
+++ b/Build/source/texk/dviljk/dvi2xx.c
@@ -3760,7 +3760,7 @@ void DoSpecial(char *str, int n)
already about the problem. */
while ( (str = GetKeyStr(str, &k)) != NULL ) {
/* get all keyword-value pairs */
- if ( k.vt == None ) { /* no value */
+ if ( k.vt == (ValTyp) None ) { /* no value */
/* Single word might also be "comment", then ignore the rest */
if ( EQ(k.Key, "comment") )
return;
@@ -4240,9 +4240,7 @@ bool GetKeyVal(KeyWord *kw, KeyDesc tab[], int nt, int *tno)
/* compare strings, ignore case */
bool IsSame(const char *a, const char *b)
{
- const char *x, *y;
-
- for (x = a, y = b; *a; a++, b++)
+ for (; *a; a++, b++)
if ( tolower(*a) != tolower(*b) )
return( _FALSE );