-fix compiler warning
authorChristian Grothoff <christian@grothoff.org>
Tue, 28 Feb 2012 15:17:18 +0000 (15:17 +0000)
committerChristian Grothoff <christian@grothoff.org>
Tue, 28 Feb 2012 15:17:18 +0000 (15:17 +0000)
src/util/disk.c

index d0dbbdf66843d499da2d35429101d5b63482f9c1..b6b458f151e17105f589127575b0c8d099efadf1 100644 (file)
@@ -2234,7 +2234,7 @@ GNUNET_DISK_pipe_from_fd (int blocking_read, int blocking_write, int fd[2])
 #ifndef MINGW
   int ret;
   int flags;
-  int eno;
+  int eno = 0; /* make gcc happy */
 
   p->fd[0]->fd = fd[0];
   p->fd[1]->fd = fd[1];