aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-10-16 21:39:10 +0000
committerThierry Vignaud <tv@mageia.org>2012-10-16 21:39:10 +0000
commit84c1076c198275d7e9364d02bfeb066932df6284 (patch)
tree480dcfe2c5c2f10c0343484e7c952e79f881e049
parentf8a5a13623d6a3a8c6a354fea03333064be111ef (diff)
downloadperl-URPM-84c1076c198275d7e9364d02bfeb066932df6284.tar
perl-URPM-84c1076c198275d7e9364d02bfeb066932df6284.tar.gz
perl-URPM-84c1076c198275d7e9364d02bfeb066932df6284.tar.bz2
perl-URPM-84c1076c198275d7e9364d02bfeb066932df6284.tar.xz
perl-URPM-84c1076c198275d7e9364d02bfeb066932df6284.zip
(unused_variable) kill unused function
-rw-r--r--URPM.xs4
1 files changed, 0 insertions, 4 deletions
diff --git a/URPM.xs b/URPM.xs
index 17a51a3..42cc011 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -103,10 +103,6 @@ typedef struct s_Package* URPM__Package;
static ssize_t write_nocheck(int fd, const void *buf, size_t count) {
return write(fd, buf, count);
}
-static const void* unused_variable(const void *p) {
- return p;
-}
-
static int rpmError_callback_data;
static int rpmError_callback() {