From 53f6b51cde1c4e3dcc33bfb568a65319d26b378a Mon Sep 17 00:00:00 2001 From: bal Date: Fri, 6 Sep 1985 11:39:06 +0000 Subject: [PATCH] sprintf does not return pointer to string so the assert(s==string) does not make any sense. --- util/ego/ic/ic_io.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/util/ego/ic/ic_io.c b/util/ego/ic/ic_io.c index 017ff1e60..4bb56b6e9 100644 --- a/util/ego/ic/ic_io.c +++ b/util/ego/ic/ic_io.c @@ -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() { -- 2.34.1