From 60a59064562dfe1766f2e77ae3447c0b79a27bd7 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 d1080f9c..e85bfd33 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() {