1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

Merge pull request #1177 from LudwigOrtmann/issue-1118

native: initialize maybe uninitialized variable
This commit is contained in:
René Kijewski 2014-05-15 14:56:37 +02:00
commit a68f4f2d75

View File

@ -92,7 +92,7 @@ void *get_in_addr(struct sockaddr *sa)
int init_tcp_socket(char *tcpport)
{
struct addrinfo hints, *info, *p;
int i, s;
int i, s = -1;
if (tcpport == NULL) {
tcpport = UART_TCPPORT;
}