aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/troff/t6.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/troff/t6.c')
-rw-r--r--src/cmd/troff/t6.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/cmd/troff/t6.c b/src/cmd/troff/t6.c
index 583d4aa8..4a2bd024 100644
--- a/src/cmd/troff/t6.c
+++ b/src/cmd/troff/t6.c
@@ -217,11 +217,15 @@ void xbits(Tchar i, int bitf)
Tchar t_setch(int c)
{
+#ifndef UNICODE
int j;
+#endif
char temp[50];
char *s;
+#ifndef UNICODE
j = 0;
+#endif
s = temp;
if (c == '(') { /* \(xx */
if ((*s++ = getach()) == 0 || (*s++ = getach()) == 0)
@@ -711,9 +715,8 @@ char *strdupl(const char *s) /* make a copy of s */
int
setfp(int pos, int f, char *truename, int print) /* mount font f at position pos[0...nfonts] */
{
- char pathname[NS], shortname[NS], *sl;
+ char pathname[NS], shortname[NS];
- sl = (char*)0;
zapwcache(0);
if (truename)
strcpy(shortname, truename);