~mdw
/
sgt
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove more unused variables.
[sgt/putty]
/
mac
/
macterm.c
diff --git
a/mac/macterm.c
b/mac/macterm.c
index
185c7eb
..
19ba7fa
100644
(file)
--- a/
mac/macterm.c
+++ b/
mac/macterm.c
@@
-1,4
+1,4
@@
-/* $Id: macterm.c,v 1.2
3 2002/12/13 00:02:48
ben Exp $ */
+/* $Id: macterm.c,v 1.2
5 2002/12/28 22:25:31
ben Exp $ */
/*
* Copyright (c) 1999 Simon Tatham
* Copyright (c) 1999, 2002 Ben Harris
/*
* Copyright (c) 1999 Simon Tatham
* Copyright (c) 1999, 2002 Ben Harris
@@
-119,7
+119,7
@@
static void inbuf_putstr(Session *s, const char *c) {
static void display_resource(Session *s, unsigned long type, short id) {
Handle h;
static void display_resource(Session *s, unsigned long type, short id) {
Handle h;
- int len
, i
;
+ int len;
char *t;
h = GetResource(type, id);
char *t;
h = GetResource(type, id);
@@
-140,7
+140,6
@@
void mac_newsession(void) {
Session *s;
UInt32 starttime;
char msg[128];
Session *s;
UInt32 starttime;
char msg[128];
- OSErr err;
/* This should obviously be initialised by other means */
s = smalloc(sizeof(*s));
/* This should obviously be initialised by other means */
s = smalloc(sizeof(*s));
@@
-192,7
+191,6
@@
static void mac_initfont(Session *s) {
Str255 macfont;
FontInfo fi;
TextEncoding enc;
Str255 macfont;
FontInfo fi;
TextEncoding enc;
- OSStatus err;
SetPort(s->window);
macfont[0] = sprintf((char *)&macfont[1], "%s", s->cfg.font);
SetPort(s->window);
macfont[0] = sprintf((char *)&macfont[1], "%s", s->cfg.font);
@@
-270,7
+268,6
@@
static void mac_adjustsize(Session *s, int newrows, int newcols) {
}
static void mac_initpalette(Session *s) {
}
static void mac_initpalette(Session *s) {
- int i;
if (!HAVE_COLOR_QD())
return;
if (!HAVE_COLOR_QD())
return;