SUBST: fix warnings.
authorWilfried Goesgens <dothebart@citadel.org>
Sun, 23 Jun 2013 14:43:33 +0000 (16:43 +0200)
committerWilfried Goesgens <dothebart@citadel.org>
Sun, 23 Jun 2013 14:43:33 +0000 (16:43 +0200)
webcit/subst.c

index 2ab6e6b407c04dd3ba83924a4cfd2a31297b13e5..a4200f8230c2fe7b413697e4a1cf42d5538cefad 100644 (file)
@@ -486,7 +486,6 @@ void GetTemplateTokenString(StrBuf *Target,
                            long *len)
 {
        StrBuf *Buf;
-///    WCTemplputParams SubTP;
 
        if (N >= TP->Tokens->nParameters) {
                LogTemplateError(Target, 
@@ -1846,7 +1845,7 @@ const StrBuf *ProcessTemplate(WCTemplate *Tmpl, StrBuf *Target, WCTemplputParams
                        done = 1;
                }
                else {
-                       int TokenRc;
+                       int TokenRc = 0;
 
                        StrBufAppendBufPlain(
                                Target, pData, 
@@ -2533,8 +2532,6 @@ void tmpl_do_tabbed(StrBuf *Target, WCTemplputParams *TP)
        }
        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));