[libxslt] Remove unused parameters
- From: Nick Wellnhofer <nwellnhof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxslt] Remove unused parameters
- Date: Tue, 25 Feb 2014 14:27:41 +0000 (UTC)
commit 5de3f28ef66f95b92a7efd8a931c455f784116ac
Author: Nick Wellnhofer <wellnhofer aevum de>
Date: Tue Feb 25 15:20:01 2014 +0100
Remove unused parameters
libxslt/numbers.c | 20 +++++---------------
1 files changed, 5 insertions(+), 15 deletions(-)
---
diff --git a/libxslt/numbers.c b/libxslt/numbers.c
index 9cd1cf3..79cdec1 100644
--- a/libxslt/numbers.c
+++ b/libxslt/numbers.c
@@ -536,9 +536,7 @@ xsltNumberFormatGetAnyLevel(xsltTransformContextPtr context,
xmlNodePtr node,
xsltCompMatchPtr countPat,
xsltCompMatchPtr fromPat,
- double *array,
- xmlDocPtr doc,
- xmlNodePtr elem)
+ double *array)
{
int amount = 0;
int cnt = 0;
@@ -615,9 +613,7 @@ xsltNumberFormatGetMultipleLevel(xsltTransformContextPtr context,
xsltCompMatchPtr countPat,
xsltCompMatchPtr fromPat,
double *array,
- int max,
- xmlDocPtr doc,
- xmlNodePtr elem)
+ int max)
{
int amount = 0;
int cnt;
@@ -759,9 +755,7 @@ xsltNumberFormat(xsltTransformContextPtr ctxt,
data->countPat,
data->fromPat,
&number,
- 1,
- data->doc,
- data->node);
+ 1);
if (amount == 1) {
xsltNumberFormatInsertNumbers(data,
&number,
@@ -777,9 +771,7 @@ xsltNumberFormat(xsltTransformContextPtr ctxt,
data->countPat,
data->fromPat,
numarray,
- max,
- data->doc,
- data->node);
+ max);
if (amount > 0) {
xsltNumberFormatInsertNumbers(data,
numarray,
@@ -792,9 +784,7 @@ xsltNumberFormat(xsltTransformContextPtr ctxt,
node,
data->countPat,
data->fromPat,
- &number,
- data->doc,
- data->node);
+ &number);
if (amount > 0) {
xsltNumberFormatInsertNumbers(data,
&number,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]