small tweaks

This commit is contained in:
rsc 2004-09-17 22:08:43 +00:00
parent 4611e331e7
commit b4c842f139
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,8 @@
* OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE. * OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
*/ */
#include <stdarg.h> #include <stdarg.h>
#include "fmt.h" #include <fmt.h>
#include "fmtdef.h"
int int
sprint(char *buf, char *fmt, ...) sprint(char *buf, char *fmt, ...)

View file

@ -20,7 +20,6 @@ int
vsnprint(char *buf, int len, char *fmt, va_list args) vsnprint(char *buf, int len, char *fmt, va_list args)
{ {
Fmt f; Fmt f;
int x = 0;
if(len <= 0) if(len <= 0)
return -1; return -1;