summaryrefslogtreecommitdiffstats
path: root/rpminfo.c
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-01-26 08:40:04 +0100
committerRemi Collet <remi@remirepo.net>2018-01-26 08:40:04 +0100
commit0c80cee00d760828e47a2bc57eb15b5b792b737c (patch)
tree22cf56e9cd9596bd10f34429af80b67a09649633 /rpminfo.c
parent38f121fe9ce6448a04ade52ad5cb35844c60b820 (diff)
fix build warnings
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;