Unused variables.
[jmk] --rw-rw-r-- M 960117 glenda sys 295 Dec 8 09:33 sys/src/ape/lib/ap/stdio/sprintf.c
/n/sourcesdump/2005/1208/plan9/sys/src/ape/lib/ap/stdio/sprintf.c:5,11 -
/n/sourcesdump/2005/1209/plan9/sys/src/ape/lib/ap/stdio/sprintf.c:5,10
int sprintf(char *buf, const char *fmt, ...){
int n;
va_list args;
- char *v;
FILE *f=_IO_sopenw();
if(f==NULL)
return 0;
[jmk] --rw-rw-r-- M 960117 glenda sys 267 Dec 8 09:33 sys/src/ape/lib/ap/stdio/vsnprintf.c
/n/sourcesdump/2005/1208/plan9/sys/src/ape/lib/ap/stdio/vsnprintf.c:4,10 -
/n/sourcesdump/2005/1209/plan9/sys/src/ape/lib/ap/stdio/vsnprintf.c:4,9
#include "iolib.h"
int vsnprintf(char *buf, size_t nbuf, const char *fmt, va_list args){
int n;
- char *v;
FILE *f=_IO_sopenw();
if(f==NULL)
return 0;
[jmk] --rw-rw-r-- M 960117 glenda sys 254 Dec 8 09:33 sys/src/ape/lib/ap/stdio/vsprintf.c
/n/sourcesdump/2005/1208/plan9/sys/src/ape/lib/ap/stdio/vsprintf.c:4,15 -
/n/sourcesdump/2005/1209/plan9/sys/src/ape/lib/ap/stdio/vsprintf.c:4,14
#include "iolib.h"
int vsprintf(char *buf, const char *fmt, va_list args){
int n;
- char *v;
FILE *f=_IO_sopenw();
if(f==NULL)
return 0;
setvbuf(f, buf, _IOFBF, 100000);
n=vfprintf(f, fmt, args);
- v=_IO_sclose(f);
+ _IO_sclose(f);
return n;
}
|