sprintf does not return pointer to string so the assert(s==string) does

not make any sense.
This commit is contained in:
bal 1985-09-06 11:39:06 +00:00
parent 6a4d9703cc
commit 53f6b51cde

View file

@ -91,11 +91,8 @@ offset get_off() {
}
STATIC make_string(n) int n; {
register char *s;
extern char *sprintf();
s=sprintf(string,".%u",n);
assert(s == string);
sprintf(string,".%u",n);
}
STATIC inident() {