removed sanity checking on result from sprintf
authorsater <none@none>
Tue, 17 Jun 1986 09:13:11 +0000 (09:13 +0000)
committersater <none@none>
Tue, 17 Jun 1986 09:13:11 +0000 (09:13 +0000)
System IIIish systems seem to have their own idea.

util/opt/getline.c

index d1080f9..e85bfd3 100644 (file)
@@ -5,7 +5,6 @@ static char rcsid[] = "$Header$";
 #include <stdio.h>
 #include "param.h"
 #include "types.h"
-#include "assert.h"
 #include "line.h"
 #include "lookup.h"
 #include "alloc.h"
@@ -123,11 +122,8 @@ offset getoff() {
 }
 
 make_string(n) int n; {
-       register char *s;
-       extern char *sprintf();
 
-       s=sprintf(string,".%u",n);
-       assert(s == string);
+       sprintf(string,".%u",n);
 }
 
 inident() {