summaryrefslogtreecommitdiffstats
path: root/rpminfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'rpminfo.c')
-rw-r--r--rpminfo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/rpminfo.c b/rpminfo.c
index 30c003c..1b7d3d3 100644
--- a/rpminfo.c
+++ b/rpminfo.c
@@ -71,7 +71,8 @@ ZEND_END_ARG_INFO()
Retrieve information from a RPM file */
PHP_FUNCTION(rpminfo)
{
- char *path, *msg=NULL, *val;
+ char *path;
+ const char *val;
size_t len;
zend_bool full = 0;
FD_t f;