diff options
Diffstat (limited to 'ddb')
-rw-r--r-- | ddb/db_examine.c | 2 | ||||
-rw-r--r-- | ddb/db_sym.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ddb/db_examine.c b/ddb/db_examine.c index 889a5b0..2df261f 100644 --- a/ddb/db_examine.c +++ b/ddb/db_examine.c @@ -340,7 +340,7 @@ db_strcpy(dst, src) register char *dst; register char *src; { - while (*dst++ = *src++) + while ((*dst++ = *src++)) ; } diff --git a/ddb/db_sym.c b/ddb/db_sym.c index be839fd..6bf8ec2 100644 --- a/ddb/db_sym.c +++ b/ddb/db_sym.c @@ -98,11 +98,11 @@ db_qualify(symname, symtabname) register char *s; s = tmp; - while (*s++ = *symtabname++) { + while ((*s++ = *symtabname++)) { } s[-1] = ':'; *s++ = ':'; - while (*s++ = *symname++) { + while ((*s++ = *symname++)) { } return tmp; } @@ -173,7 +173,7 @@ db_lookup(symstr) * Return on first match. */ for (i = symtab_start; i < symtab_end; i++) { - if (sp = X_db_lookup(&db_symtabs[i], symstr)) { + if ((sp = X_db_lookup(&db_symtabs[i], symstr))) { db_last_symtab = &db_symtabs[i]; return sp; } |