}
void
-opts_parse(Config *cfg, int argc, char *argv[], int i)
+opts_parse(Config *cfg, int argc, char *argv[])
{
opts_parse_any(cfg, argc, argv, 1);
read_all(Config *cfg, char *buf)
{
fd_set fds;
- int maxfd;
+ int maxfd = -1;
int ready;
struct stat st;
int prefix = 0;
char *buf;
Config *cfg = &defaults;
- Display *display;
+ Display *display = NULL;
argv0 = argv[0];
- opts_parse(cfg, argc, argv, 1);
+ opts_parse(cfg, argc, argv);
debug("argv0 = %s\n", argv0);
config_print(cfg);
if (cfg->files == NULL)