sprintf does not return pointer to string so the assert(s==string) does
authorbal <none@none>
Fri, 6 Sep 1985 11:39:06 +0000 (11:39 +0000)
committerbal <none@none>
Fri, 6 Sep 1985 11:39:06 +0000 (11:39 +0000)
not make any sense.

util/ego/ic/ic_io.c

index 017ff1e..4bb56b6 100644 (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() {