(get_xsockets): init local variable to get rid of a gcc warning
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5867 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -314,7 +314,7 @@ get_xsockets (int *number, struct x_socket **sockets, int tcp_socket)
|
||||
|
||||
for(dpy = 4; dpy < 256; ++dpy) {
|
||||
char **path;
|
||||
int tmp;
|
||||
int tmp = 0;
|
||||
|
||||
n = 0;
|
||||
for (path = x_sockets; *path; ++path) {
|
||||
|
Reference in New Issue
Block a user