sprintf does not return pointer to string so the assert(s==string) does
not make any sense.
This commit is contained in:
parent
6a4d9703cc
commit
53f6b51cde
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue