projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a4ec41f
)
SUBST: fix warnings.
author
Wilfried Goesgens
<dothebart@citadel.org>
Sun, 23 Jun 2013 14:43:33 +0000
(16:43 +0200)
committer
Wilfried Goesgens
<dothebart@citadel.org>
Sun, 23 Jun 2013 14:43:33 +0000
(16:43 +0200)
webcit/subst.c
patch
|
blob
|
history
diff --git
a/webcit/subst.c
b/webcit/subst.c
index 2ab6e6b407c04dd3ba83924a4cfd2a31297b13e5..a4200f8230c2fe7b413697e4a1cf42d5538cefad 100644
(file)
--- a/
webcit/subst.c
+++ b/
webcit/subst.c
@@
-486,7
+486,6
@@
void GetTemplateTokenString(StrBuf *Target,
long *len)
{
StrBuf *Buf;
long *len)
{
StrBuf *Buf;
-/// WCTemplputParams SubTP;
if (N >= TP->Tokens->nParameters) {
LogTemplateError(Target,
if (N >= TP->Tokens->nParameters) {
LogTemplateError(Target,
@@
-1846,7
+1845,7
@@
const StrBuf *ProcessTemplate(WCTemplate *Tmpl, StrBuf *Target, WCTemplputParams
done = 1;
}
else {
done = 1;
}
else {
- int TokenRc;
+ int TokenRc
= 0
;
StrBufAppendBufPlain(
Target, pData,
StrBufAppendBufPlain(
Target, pData,
@@
-2533,8
+2532,6
@@
void tmpl_do_tabbed(StrBuf *Target, WCTemplputParams *TP)
}
StackContext (TP, &SubTP, &TS, CTX_TAB, 0, NULL);
{
}
StackContext (TP, &SubTP, &TS, CTX_TAB, 0, NULL);
{
-//// TODO jetzt memcpy (&SubTP, TP, sizeof(WCTemplputParams));
-// SubTP.Filter.ControlContextType = ;
StrTabbedDialog(Target, nTabs, TabNames);
for (i = 0; i < ntabs; i++) {
memset(&TS, 0, sizeof(tab_struct));
StrTabbedDialog(Target, nTabs, TabNames);
for (i = 0; i < ntabs; i++) {
memset(&TS, 0, sizeof(tab_struct));