From f1a0c90fb161983a4fc081b73fa601e1984650ad Mon Sep 17 00:00:00 2001 From: sater Date: Tue, 17 Jun 1986 09:13:11 +0000 Subject: [PATCH] removed sanity checking on result from sprintf System IIIish systems seem to have their own idea. --- util/opt/getline.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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() { -- 2.34.1