summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author <brian@gir>2007-10-27 15:42:10 -0700
committer <brian@gir>2007-10-27 15:42:10 -0700
commit82b9ad4652c38c7fc0a31505fd38f95246e379f9 (patch)
treeb61884d7b663c3c2fd078cad7b74273339da58f8
parent1bd637f6eccc1064a4e19e40b14a340818d1ccf3 (diff)
downloadlibmemcached-82b9ad4652c38c7fc0a31505fd38f95246e379f9.tar.gz
Randomm dead code cleanup/spelling errors/made a variable static.
-rw-r--r--Makefile.am4
-rw-r--r--README.FIRST2
-rw-r--r--lib/memcached_io.c2
-rw-r--r--tests/Makefile.am3
-rw-r--r--tests/test.c4
5 files changed, 2 insertions, 13 deletions
diff --git a/Makefile.am b/Makefile.am
index 4633706b..7c23b741 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -11,10 +11,6 @@ test-extended: all
valgrind:
cd tests; make valgrind; cd ..
-valgrind-extended:
- cd tests; make valgrind-extended; cd ..
-
-
rpm: all dist
cp libmemcached-$(VERSION).tar.gz /home/brian/rpmbuild/SOURCES/
rpmbuild -ba support/libmemcached.spec
diff --git a/README.FIRST b/README.FIRST
index 5f46996d..dd15b737 100644
--- a/README.FIRST
+++ b/README.FIRST
@@ -3,7 +3,7 @@ Hi!
If you are getting this code from http://hg.tangent.org/libmemcached then
continue reading. Otherwise these directions are not for you (well maybe...).
-To obtain code from http://hg.tangent.org/libmemached you will need to issue
+To obtain code from http://hg.tangent.org/libmemcached you will need to issue
the following command:
hg clone http://hg.tangent.org/libmemcached
diff --git a/lib/memcached_io.c b/lib/memcached_io.c
index 49f6bc68..d2c803f3 100644
--- a/lib/memcached_io.c
+++ b/lib/memcached_io.c
@@ -7,7 +7,7 @@
#include <sys/select.h>
#include <poll.h>
-int io_wait(memcached_st *ptr, unsigned int server_key, unsigned read_or_write)
+static int io_wait(memcached_st *ptr, unsigned int server_key, unsigned read_or_write)
{
struct pollfd fds[1];
short flags= 0;
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 27ccdab3..140338d1 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -51,6 +51,3 @@ test-extended: testapp
valgrind:
libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes testapp
-
-valgrind-extended:
- libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes testapp extended
diff --git a/tests/test.c b/tests/test.c
index a6252069..85adaf1c 100644
--- a/tests/test.c
+++ b/tests/test.c
@@ -882,10 +882,6 @@ int main(int argc, char *argv[])
{0, 0, 0, 0}
};
- /*
- unsigned int next;
- for (next= 0; collection[next].name; next++)
-*/
collection_st *next;
for (next= collection; next->name; next++)
{