Remove more unused variables.
authorben <ben@cda61777-01e9-0310-a592-d414129be87e>
Sat, 28 Dec 2002 22:25:31 +0000 (22:25 +0000)
committerben <ben@cda61777-01e9-0310-a592-d414129be87e>
Sat, 28 Dec 2002 22:25:31 +0000 (22:25 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@2372 cda61777-01e9-0310-a592-d414129be87e

mac/macstore.c
mac/macterm.c

index 5764e19..858846a 100644 (file)
@@ -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
@@ -131,7 +131,6 @@ void write_setting_s(void *handle, char *key, char *value) {
     int fd = *(int *)handle;
     Handle h;
     int id;
-    OSErr error;
 
     UseResFile(fd);
     if (ResError() != noErr)
index 1e7eb42..19ba7fa 100644 (file)
@@ -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, 2002 Ben Harris
@@ -191,7 +191,6 @@ static void mac_initfont(Session *s) {
     Str255 macfont;
     FontInfo fi;
     TextEncoding enc;
-    OSStatus err;
 
     SetPort(s->window);
     macfont[0] = sprintf((char *)&macfont[1], "%s", s->cfg.font);