[tex4ht-commits] [SCM] tex4ht updated: r98 - trunk/lit

karl at gnu.org.ua karl at gnu.org.ua
Fri Jan 18 19:19:28 CET 2013


Author: karl
Date: 2013-01-18 20:19:28 +0200 (Fri, 18 Jan 2013)
New Revision: 98

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-c.tex
   trunk/lit/tex4ht-t4ht.tex
Log:
remove set but unused variables

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2012-10-26 06:13:06 UTC (rev 97)
+++ trunk/lit/ChangeLog	2013-01-18 18:19:28 UTC (rev 98)
@@ -1,3 +1,8 @@
+2013-01-08  Peter Breitenlohner  <peb at mppmu.mpg.de>
+
+	Backport from TeX Live.
+	* tex4ht-c.tex, tex4ht-t4ht.tex: Drop set but unused variables.
+
 2012-07-27  Peter Breitenlohner  <peb at mppmu.mpg.de>
 
 	Adapt to W32TeX (backport from TeX Live).

Modified: trunk/lit/tex4ht-c.tex
===================================================================
--- trunk/lit/tex4ht-c.tex	2012-10-26 06:13:06 UTC (rev 97)
+++ trunk/lit/tex4ht-c.tex	2013-01-18 18:19:28 UTC (rev 98)
@@ -13561,7 +13561,9 @@
 
 
 \<check env font variables\><<<
+#ifndef KPATHSEA
 tfm_dirs = get_env_var("TEX4HTTFM");
+#endif
 htf_dirs = get_env_var("TEX4HTHTF");
 >>>
 
@@ -13639,7 +13641,10 @@
 
 
 \<scan fonts vars\><<<
-struct env_var_rec *tfm_dirs, *htf_dirs;
+#ifndef KPATHSEA
+struct env_var_rec *tfm_dirs;
+#endif
+struct env_var_rec *htf_dirs;
 >>>
 
 \<types\><<<

Modified: trunk/lit/tex4ht-t4ht.tex
===================================================================
--- trunk/lit/tex4ht-t4ht.tex	2012-10-26 06:13:06 UTC (rev 97)
+++ trunk/lit/tex4ht-t4ht.tex	2013-01-18 18:19:28 UTC (rev 98)
@@ -1780,7 +1780,7 @@
 
 \<act on op\><<<
 if( rec_op == Until_op ){
-  for( to_op = p = to_rec->down;
+  for( p = to_rec->down;
            p != (struct files_rec*) 0;  p = p->down ){
     if( p->op == From_op ){ from_op = p; break; }
   } 
@@ -2054,7 +2054,7 @@
 char rec_op, *ch;
 static struct files_rec *to_rec, *from_rec,
    *opened_files = (struct files_rec *) 0,
-   *p, *p1, *p2, *p3, *p4, *from_op, *to_op;
+   *p, *p1, *p2, *p3, *p4, *from_op;
 FILE *in_file, *out_file;
 BOOL write_on;
 >>>



More information about the tex4ht-commits mailing list