From: Date: Sat, 27 Oct 2007 22:42:10 +0000 (-0700) Subject: Randomm dead code cleanup/spelling errors/made a variable static. X-Git-Tag: 0_7~3 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=82b9ad4652c38c7fc0a31505fd38f95246e379f9;p=m6w6%2Flibmemcached Randomm dead code cleanup/spelling errors/made a variable static. --- 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 #include -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++) {