pike.git/
lib/
modules/
Calendar.pmod/
YMD.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2015-12-20
2015-12-20 14:16:18 by Martin Nilsson <nilsson@fastmail.com>
74b59e79001e81672c83b4efa6e927f28611f9bc (
21
lines) (+
11
/-
10
)
[
Show
|
Annotate
]
Branch:
8.1
Removed _sprintf parameters where they are not used.
1204:
// ---------------------------------------- string nice_print();
-
protected string _sprintf(int t
,mapping m
)
+
protected string _sprintf(int t)
{ switch (t) { case 't': return "Calendar."+calendar_name()+".YMD"; default:
-
return ::_sprintf(t
,m
);
+
return ::_sprintf(t);
} }
1334:
// ----------------
-
protected string _sprintf(int t
,mapping m
)
+
protected string _sprintf(int t)
{ switch (t) {
1345:
case 't': return "Calendar."+calendar_name()+".Year"; default:
-
return ::_sprintf(t
,m
);
+
return ::_sprintf(t);
} }
1641:
} }
-
protected string _sprintf(int t
,mapping m
)
+
protected string _sprintf(int t)
{ // return sprintf("month y=%d yjd=%d m=%d jd=%d yd=%d n=%d nd=%d", // y,yjd,m,jd,yd,n,number_of_days());
1654:
case 't': return "Calendar."+calendar_name()+".Month"; default:
-
return ::_sprintf(t
,m
);
+
return ::_sprintf(t);
} }
1948:
} }
-
protected string _sprintf(int t
,mapping m
)
+
protected string _sprintf(int t)
{ // return sprintf("week y=%d yjd=%d w=%d jd=%d yd=%d n=%d nd=%d", // y,yjd,w,jd,yd,n,number_of_days());
1961:
case 't': return "Calendar."+calendar_name()+".Week"; default:
-
return ::_sprintf(t
,m
);
+
return ::_sprintf(t);
} }
2325:
} }
-
protected string _sprintf(int t
,mapping m
)
+
protected string _sprintf(int t)
{ switch (t) {
2339:
case 't': return "Calendar."+calendar_name()+".Day"; default:
-
return ::_sprintf(t
,m
);
+
return ::_sprintf(t);
} }