troglobit/inadyn — pull request #27 by taem (2013-06-17 09:58:59+00:00)
Title: Initialize 'timeout' variable

Hi,

There is compile fix for:

```
$ make
CC src/base64.o
CC src/md5.o
CC src/dyndns.o
CC src/errorcode.o
CC src/get_cmd.o
CC src/http_client.o
src/http_client.c: In function ‘http_client_init’:
src/http_client.c:75:14: error: ‘timeout’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
if (timeout == 0)
^
src/http_client.c:72:6: note: ‘timeout’ was declared here
int timeout, port;
^
cc1: all warnings being treated as errors
make: *** [src/http_client.o] Error 1
```
```
$ gcc --version
gcc (Debian 4.8.1-3) 4.8.1
```