1. Kaspar Schiess
  2. nanomsg

Commits

Kaspar Schiess  committed 8700f68

Removes dead code

  • Participants
  • Parent commits 354a9fa
  • Branches master

Comments (0)

Files changed (1)

File ext/init.c

View file
  • Ignore whitespace
   return psock->socket;
 }
 
-static int
-nn_get_rcv_fd(int sock)
-{
-  int fd; 
-  size_t size = sizeof(fd);
-  int err; 
-
-  err = nn_getsockopt(sock, NN_SOL_SOCKET, NN_RCVFD, &fd, &size);
-  if (err < 0)
-    return err; 
-
-  return fd; 
-}
-
 static VALUE
 sock_alloc(VALUE klass) 
 {