diff --git a/cpp/unix.c b/cpp/unix.c index b3db364..400af35 100755 --- a/cpp/unix.c +++ b/cpp/unix.c @@ -97,7 +97,7 @@ memmove(void *dp, const void *sp, size_t n) { unsigned char *cdp, *csp; - if (n<=0) + if (n==0) return 0; cdp = dp; csp = (unsigned char *)sp; diff --git a/src/sym.c b/src/sym.c index e4a6e30..fab3962 100755 --- a/src/sym.c +++ b/src/sym.c @@ -313,8 +313,6 @@ Symbol mksymbol(int sclass, const char *name, Type ty) { /* vtoa - return string for the constant v of type ty */ char *vtoa(Type ty, Value v) { - char buf[50]; - ty = unqual(ty); switch (ty->op) { case INT: return stringd(v.i);