Fix more compile warnings for Windows in socket.c.
[claws.git] / src / mbox.c
index c0846020092149c08f57a03c92a66358863d6c37..3561053b159e6e274807491183e86fa7cef48c13 100644 (file)
@@ -429,8 +429,8 @@ gint unlock_mbox(const gchar *base, gint fd, LockType type)
 
                return 0;
        } else if (type == LOCK_FLOCK) {
-               gboolean fcntled = FALSE;
 #if HAVE_FCNTL_H && !defined(G_OS_WIN32)
+               gboolean fcntled = FALSE;
                struct flock fl;
                fl.l_type = F_UNLCK;
                fl.l_whence = SEEK_SET;