mirror of
https://frontier.innolan.net/rainlance/amiga-tz.git
synced 2026-05-07 02:18:13 +00:00
delinting
SCCS-file: scheck.c SCCS-SID: 8.12
This commit is contained in:
committed by
Paul Eggert
parent
9ea964e72e
commit
5be995995c
8
scheck.c
8
scheck.c
@@ -14,7 +14,7 @@ extern void ifree P((char * p));
|
||||
char *
|
||||
scheck(string, format)
|
||||
const char * const string;
|
||||
const char * const format;
|
||||
char * const format;
|
||||
{
|
||||
register char * fbuf;
|
||||
register const char * fp;
|
||||
@@ -22,12 +22,12 @@ const char * const format;
|
||||
register int c;
|
||||
register char * result;
|
||||
char dummy;
|
||||
static char nada[1];
|
||||
static char nada;
|
||||
|
||||
result = nada;
|
||||
result = &nada;
|
||||
if (string == NULL || format == NULL)
|
||||
return result;
|
||||
fbuf = imalloc(2 * strlen(format) + 4);
|
||||
fbuf = imalloc((int) (2 * strlen(format) + 4));
|
||||
if (fbuf == NULL)
|
||||
return result;
|
||||
fp = format;
|
||||
|
||||
Reference in New Issue
Block a user