mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-21 22:28:37 -05:00
Remove more unused variables.
[originally from svn r2372]
This commit is contained in:
parent
1cfe88e9d2
commit
454e6d2a43
@ -1,4 +1,4 @@
|
|||||||
/* $Id: macstore.c,v 1.3 2002/12/28 22:22:43 ben Exp $ */
|
/* $Id: macstore.c,v 1.4 2002/12/28 22:25:31 ben Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* macstore.c: Macintosh-specific impementation of the interface
|
* macstore.c: Macintosh-specific impementation of the interface
|
||||||
@ -131,7 +131,6 @@ void write_setting_s(void *handle, char *key, char *value) {
|
|||||||
int fd = *(int *)handle;
|
int fd = *(int *)handle;
|
||||||
Handle h;
|
Handle h;
|
||||||
int id;
|
int id;
|
||||||
OSErr error;
|
|
||||||
|
|
||||||
UseResFile(fd);
|
UseResFile(fd);
|
||||||
if (ResError() != noErr)
|
if (ResError() != noErr)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $Id: macterm.c,v 1.24 2002/12/28 22:22:43 ben Exp $ */
|
/* $Id: macterm.c,v 1.25 2002/12/28 22:25:31 ben Exp $ */
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1999 Simon Tatham
|
* Copyright (c) 1999 Simon Tatham
|
||||||
* Copyright (c) 1999, 2002 Ben Harris
|
* Copyright (c) 1999, 2002 Ben Harris
|
||||||
@ -191,7 +191,6 @@ static void mac_initfont(Session *s) {
|
|||||||
Str255 macfont;
|
Str255 macfont;
|
||||||
FontInfo fi;
|
FontInfo fi;
|
||||||
TextEncoding enc;
|
TextEncoding enc;
|
||||||
OSStatus err;
|
|
||||||
|
|
||||||
SetPort(s->window);
|
SetPort(s->window);
|
||||||
macfont[0] = sprintf((char *)&macfont[1], "%s", s->cfg.font);
|
macfont[0] = sprintf((char *)&macfont[1], "%s", s->cfg.font);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user