diff options
Diffstat (limited to 'x11vnc/gui.c')
-rw-r--r-- | x11vnc/gui.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/x11vnc/gui.c b/x11vnc/gui.c index 41c4202..f0dd16c 100644 --- a/x11vnc/gui.c +++ b/x11vnc/gui.c @@ -674,7 +674,7 @@ void do_gui(char *opts, int sleep) { char *cmd, *p, *p2, *p1, *p0 = getenv("PATH"); char tf1[] = "/tmp/x11vnc_port_prompt.2XXXXXX"; char tf2[] = "/tmp/x11vnc_port_prompt.1XXXXXX"; - int fd, i, port; + int fd; char *dstr = "", *wish = NULL; char line[128]; FILE *fp; @@ -831,7 +831,6 @@ void do_gui(char *opts, int sleep) { if (icon_mode) { char tf[] = "/tmp/x11vnc.tray.XXXXXX"; int fd; - struct stat sbuf; fd = mkstemp(tf); if (fd < 0) { |