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
1 changed files with 1 additions and 4 deletions
|
@ -91,11 +91,8 @@ offset get_off() {
|
||||||
}
|
}
|
||||||
|
|
||||||
STATIC make_string(n) int n; {
|
STATIC make_string(n) int n; {
|
||||||
register char *s;
|
|
||||||
extern char *sprintf();
|
|
||||||
|
|
||||||
s=sprintf(string,".%u",n);
|
sprintf(string,".%u",n);
|
||||||
assert(s == string);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
STATIC inident() {
|
STATIC inident() {
|
||||||
|
|
Loading…
Reference in a new issue