Issue 14
@@ -468,7 +468,6 @@ keylist(int i, char *a, uint n, Fsstate *fss)
int wb;
Keyinfo ki;
Key *k;
- static char zero[Nearend];
k = nil;
mkkeyinfo(&ki, fss, nil);
@@ -27,11 +27,6 @@ enum
Maxphase,
};
-static char *phasenames[Maxphase] =
-{
-[HavePass] "HavePass",
-};
-
static int
passinit(Proto *p, Fsstate *fss)
{
@@ -15,8 +15,6 @@
#include <9p.h>
#include "flashfs.h"
-static char* file;
-static int fd;
static uint8_t *ones;
static int isdev;
@@ -17,7 +17,6 @@
static int nextfnum;
static Intmap* map;
-static Dir dirproto;
static char user[] = "flash";
@@ -282,35 +282,6 @@ static Flag capabilityflag[] = {
0
-static Flag modeattributesflags[] = {
- 1<<0, "supported",
- 1<<2, "tty",
- 1<<3, "color",
- 1<<4, "graphics",
- 1<<5, "not-vga",
- 1<<6, "no-windowed-vga",
- 1<<7, "linear",
- 1<<8, "double-scan",
- 1<<9, "interlace",
- 1<<10, "triple-buffer",
- 1<<11, "stereoscopic",
- 1<<12, "dual-start-addr",
- 0
-static Flag winattributesflags[] = {
- 1<<0, "relocatable",
- 1<<1, "readable",
- 1<<2, "writeable",
-static Flag directcolorflags[] = {
- 1<<0, "programmable-color-ramp",
- 1<<1, "x-usable",
static char *modelstr[] = {
"text", "cga", "hercules", "planar", "packed", "non-chain4", "direct", "YUV"
@@ -31,7 +31,6 @@ static void checktoc(Drive*);
int vflag;
static Drive *drive;
-static int nchange;
enum {
Qdir = 0,
@@ -1151,7 +1151,6 @@ main(int argc, char **argv)
int32_t svrtime;
char windom[64], cname[64];
char *method, *sysname, *keyp, *mtpt, *svs;
- static char *sh[1024];
*cname = 0;
keyp = "";
@@ -32,7 +32,6 @@ redraw(Image *screen)
static Rectangle r;
static Point c;
static int rad;
- static Image *im;
int i;
int anghr, angmin;
static Tm tms;
@@ -21,7 +21,6 @@
#define PATH 128
-static int baud;
static int nocompress;
static int pppframing = 1;
static int noipcompress;
@@ -63,11 +63,10 @@ newstr(void)
void
reader(void *v)
- int cfd, tfd, forking = 0, exiting, pid;
+ int cfd, tfd, exiting, pid;
uintptr_t newpid;
char *ctl, *truss;
Str *s;
- static char start[] = "start";
static char waitstop[] = "waitstop";
pid = (int)(uintptr)v;
@@ -9,7 +9,7 @@ void
main(void)
char buf[1];
- int i, fail;
+ int i;
// Just to be sure.
if (close(3) >= 0) {
print("waserror: close of 3 did not get an error\n");