diff options
author | dormando <dormando@rydia.net> | 2011-07-12 00:37:04 -0700 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2011-07-12 00:37:04 -0700 |
commit | 59be51ca3f2b547426f0a2e45b213936a69f721c (patch) | |
tree | e80d8611a0da5a66f6d64cc167013d1f3bf5c02b | |
parent | b8c40b08672fe5637b2266f726a1e8961780f840 (diff) | |
download | memcached-59be51ca3f2b547426f0a2e45b213936a69f721c.tar.gz |
shed some dead udp_port code1.4.6-rc1
-rw-r--r-- | memcached.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/memcached.c b/memcached.c index effb8a1..a7a90b7 100644 --- a/memcached.c +++ b/memcached.c @@ -4769,8 +4769,6 @@ int main (int argc, char **argv) { /* create the listening socket, bind it, and init */ if (settings.socketpath == NULL) { - int udp_port; - const char *portnumber_filename = getenv("MEMCACHED_PORT_FILENAME"); char temp_portnumber_filename[PATH_MAX]; FILE *portnumber_file = NULL; @@ -4800,7 +4798,6 @@ int main (int argc, char **argv) { * then daemonise if needed, then init libevent (in some cases * descriptors created by libevent wouldn't survive forking). */ - udp_port = settings.udpport ? settings.udpport : settings.port; /* create the UDP listening socket and bind it */ errno = 0; |