From: sater Date: Tue, 17 Jun 1986 09:13:11 +0000 (+0000) Subject: removed sanity checking on result from sprintf X-Git-Tag: release-5-5~5278 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=f1a0c90fb161983a4fc081b73fa601e1984650ad;p=ack.git removed sanity checking on result from sprintf System IIIish systems seem to have their own idea. --- diff --git a/util/opt/getline.c b/util/opt/getline.c index d1080f9c5..e85bfd331 100644 --- a/util/opt/getline.c +++ b/util/opt/getline.c @@ -5,7 +5,6 @@ static char rcsid[] = "$Header$"; #include #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() {